@bootstrap-styled/v4
Version:
twbs/bootstrap V4 UI Components made with bootstrap-styled. Work with css-in-js, react, styled-components, and Bootstrap Styled utilities.
36 lines (29 loc) • 742 B
Markdown
`<CardText />` component example:
```js
import {
Card,
CardTitle,
CardText,
} from '$PACKAGE_NAME';
<Card width="50%" block>
<CardTitle>Special Title Treatment</CardTitle>
<CardText>With supporting text below as a natural lead-in to additional content.</CardText>
</Card>
```
`<CardText />` component example with **inverted text**:
```js
import {
Card,
CardBlock,
CardTitle,
CardText,
Button,
} from '$PACKAGE_NAME';
<Card inverse backgroundColor="orange" borderColor="green">
<CardBlock>
<CardTitle>Special Title Treatment</CardTitle>
<CardText>With supporting text below as a natural lead-in to additional content.</CardText>
<Button color="primary">Go somewhere</Button>
</CardBlock>
</Card>
```