Module

ContainerWithCard

Methods

# inner ContainerWithCard(props) → {React.ReactElement}

A helper component to render a Container with a Card and CardContent
Parameters:
Name Type Attributes Description
props object props object
cardProps object <optional>
props for the Card component
cardContentProps object <optional>
props for the CardContent component
children object children to render

View Source stories/ContainerWithCard.jsx, line 7

- React component
React.ReactElement
Example
<ContainerWithCard>
 <Typography variant="h5" component="h2">
  This is a card
</Typography>
</ContainerWithCard>