The SUI-Card component features a generic div tag including two more nested containers one on top of the other.
const images = [{
src: 'https://scontent-mad1-1.cdninstagram.com/t51.2885-15/e15/11199623_633712610062793_1285693904_n.jpg',
type: 'image',
link: 'https://www.instagram.com/p/TNUdPKpMgM/?taken-by=davecarter'
}];
ReactDom.render(
<SuiCard
primary={
<SuiMultimedia images={images} />
}
secondary={
<div>
<h2 className='sui-Card-title'>This is the Card Title</h2>
<p className='sui-Card-description'>This is the description text of this Card</p>
</div>
}
/>,
document.getElementById('main')
);
There is still room for improvement. If you are considering adding a feature don't hesitate to fork and pull request
Star and share SUI-card component to show your support. In addition you can follow the twitter account SUIEngineers to keep in touch.
This component is released under MIT license