/* eslint-disable no-console */ import { PureComponent } from 'react'; import { Button, FoldableCard } from '../..'; export default class FoldableCardExample extends PureComponent { static displayName = 'FoldableCardExample'; static defaultProps = { exampleCode: (
These are its contents

These are its contents

And some more

These are the card's contents.
These are the card's contents.
I'm tiny! :D
You can't see me!
I'm highlighted!
These are its contents
This is the main content of the card.
This is a multiline foldable card
with a summary component & a expanded summary component
} summary={ } expandedSummary={ } > Nothing to see here. Keep walking!
Nothing to see here. Keep walking!
), }; handleClick = () => console.log( 'Clicked!' ); handleClose = () => console.log( 'Closed!' ); handleOpen = () => console.log( 'Opened!' ); render() { return this.props.exampleCode; } }