mirror of
https://github.com/bellingcat/ukraine-timemap.git
synced 2026-06-11 21:08:36 +03:00
Additional card cleanup
This commit is contained in:
13
src/components/presentational/CardNarrative.js
Normal file
13
src/components/presentational/CardNarrative.js
Normal file
@@ -0,0 +1,13 @@
|
||||
import React from 'react';
|
||||
|
||||
import CardNarrativeLink from './CardNarrativeLink';
|
||||
|
||||
const CardNarrative = (props) => (
|
||||
<div className="event-card-section">
|
||||
<h4>Connected events</h4>
|
||||
<p>Next: <CardNarrativeLink {...props} event={props.next}/></p>
|
||||
<p>Previous: <CardNarrativeLink {...props} event={props.prev} /></p>
|
||||
</div>
|
||||
);
|
||||
|
||||
export default CardNarrative;
|
||||
Reference in New Issue
Block a user