UNPKG

@ftrack/react-toolbox

Version:

A set of React components implementing Google's Material Design specification with the power of CSS Modules.

27 lines (24 loc) 823 B
const dummyText = 'Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry\'s standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book.'; const TestCards = () => ( <Card style={{width: '350px'}}> <CardTitle avatar="https://placeimg.com/80/80/animals" title="Avatar style title" subtitle="Subtitle here" /> <CardMedia aspectRatio="wide" image="https://placeimg.com/800/450/nature" /> <CardTitle title="Title goes here" subtitle="Subtitle here" /> <CardText>{dummyText}</CardText> <CardActions> <Button label="Action 1" /> <Button label="Action 2" /> </CardActions> </Card> ); return <TestCards />;