@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.
46 lines (43 loc) • 682 B
Markdown
`<Caption />` component example:
```js
import {
Table,
Caption,
Thead,
Tr,
Th,
Tbody,
Td,
} from '$PACKAGE_NAME';
<Table>
<Caption>List of users</Caption>
<Thead>
<Tr>
<Th>#</Th>
<Th>First Name</Th>
<Th>Last Name</Th>
<Th>Username</Th>
</Tr>
</Thead>
<Tbody>
<Tr>
<Th scope="row">1</Th>
<Td>Dimitri</Td>
<Td>Kopriwa</Td>
<Td>@dka</Td>
</Tr>
<Tr>
<Th scope="row">2</Th>
<Td>Alexander</Td>
<Td>Janet</Td>
<Td>@ajt</Td>
</Tr>
<Tr>
<Th scope="row">3</Th>
<Td>Adrien</Td>
<Td>Gadaud</Td>
<Td>@pnepe6</Td>
</Tr>
</Tbody>
</Table>
```