@arnat/styled-card
v0.0.12
Published
The bootstrap card component created with styled-components
Downloads
24
Readme
styled-card-component
Modular approach to use bootstrap components for quick prototypes, as an entrypoint of the component library.
Usage
import {
Card,
CardBody,
CardFooter,
CardHeader,
CardImageHeader,
CardText,
CardTitle,
} from '@arnat/styled-card';
const MyCardWithImageHeaderComponent = props => (
<Card>
<CardImageHeader src="my/image/source.jpg" />
<CardBody>
<CardText>Card Text</CardText>
<CardFooter>Card Footer</CardFooter>
</CardBody>
</Card>
);
Properties
Properties which can be added to the component to change the visual appearance.
noRadius
only on Card, CardHeader, CardImageHeader, CardFooter Type: booleanh1
only on CardTitle Type: booleanh2
only on CardTitle Type: booleanh3
only on CardTitle Type: booleanh4
only on CardTitle Type: booleanh5
only on CardTitle Type: booleanh6
only on CardTitle Type: boolean