Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
const ProductCard = props => {
return (
<div className="product">
<p>
<b>Title:</b> {props.title}
</p>
<p>
<b>Style:</b> {props.style}
</p>
<p>
<b>Price:</b> {props.price}
</p>
<p>
<b>Description:</b> {props.description}
</p>
<p>
<b>Free shipping:</b> {props.isFreeShipping}
</p>
<hr />
</div>
);
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.