@c8s/table
v0.0.5
Published
[![github](https://badgen.net/badge//nju33,c8s/000?icon=github&list=1)](https://github.com/nju33/c8s/tree/master/components/table) [![npm:version](https://badgen.net/npm/v/@c8s/table?icon=npm&label=)](https://www.npmjs.com/package/@c8s/table) [![typescrip
Downloads
21
Readme
@c8s/table
Usage
/**
* As to prepare of using the `Table`
*
* ```sh
* yarn add @c8s/table @c8s/theme react @types/react styled-components @types/styled-components
* ```
*/
import Table from '@c8s/table';
import {Theme, theme} from '@c8s/theme';
Example
() => (
<Theme theme={theme}>
{/* ... */}
<Table
head={['foo', 'bar', 'baz']}
body={[[1, 2, 3], ['hoge', 'fuga', 'piyo']]}
/>
{/* ... */}
</Theme>
);
Contributors
Thanks goes to these wonderful people (emoji key):
| 純📖 | Aki-Japan📖 | | :---: | :---: |
This project follows the all-contributors specification. Contributions of any kind welcome!