const Artists = styled.div`
font: ${fonts.sans};
margin: 1em 0;
`
const Title = styled.div`
font: ${fonts.serif};
`
const Button = styled.button`
${(props) => (props.primary && ' background: black')}
`
const Artwork = ({ artists, title, forSale }) =>
(
{artists.map(a => a.name).join(‘, ‘)}
{title || 'untitled'}
{forSale && Buy}
)
Putting it together