|
@@ -41,9 +41,9 @@ export const ItemCard: React.FC<OwnProps> = (props) => { |
|
|
|
|
|
|
|
|
return <div> |
|
|
return <div> |
|
|
<section className={styles.card} onClick={() => setShowDetails(true)}> |
|
|
<section className={styles.card} onClick={() => setShowDetails(true)}> |
|
|
<figure> |
|
|
|
|
|
|
|
|
{ props.leftImage && <figure> |
|
|
<img src={props.leftImage} /> |
|
|
<img src={props.leftImage} /> |
|
|
</figure> |
|
|
|
|
|
|
|
|
</figure> } |
|
|
<div className={styles.contentHolder}> |
|
|
<div className={styles.contentHolder}> |
|
|
<h6> { props.heading.name }: {props.heading.value} </h6> |
|
|
<h6> { props.heading.name }: {props.heading.value} </h6> |
|
|
<h2> {props.value} </h2> |
|
|
<h2> {props.value} </h2> |
|
|