@c8s/table
TypeScript icon, indicating that this package has built-in type declarations

0.0.5 • Public • Published

@c8s/table

github npm:version typescript license browserslist code style:prettier

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!

Readme

Keywords

none

Package Sidebar

Install

npm i @c8s/table

Weekly Downloads

5

Version

0.0.5

License

MIT

Unpacked Size

21.1 kB

Total Files

32

Last publish

Collaborators

  • akijpn
  • nju33