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

0.0.6 • Public • Published

Table

The Table component displays sets of data.

Use

  1. Install the @cebus/react-table component.

Using NPM

npm install @cebus/react-table

Using Yarn

yarn add @cebus/react-table
  1. Install the @cebus/react-provider and our theme tokens from @cebus/react-theme

  2. Set up the provider in your app:

import { Provider } from '@cebus/react-provider'
import { webLightTheme } from '@cebus/react-theme'

const MyApp = () => {
  return (
    <Provider theme={webLightTheme}>
    <Provider>
  )
}
  1. Integrate the Table component.
import { Provider } from '@cebus/react-provider'
import { webLightTheme } from '@cebus/react-theme'
import { Table, ... } from '@cebus/react-table'

const MyApp = () => {
  return (
    <Provider theme={webLightTheme}>
      <Table>
        ...
      </Table>
    <Provider>
  )
}

API

To learn more about the Table API take a look at the Table Interface file.

Readme

Keywords

none

Package Sidebar

Install

npm i @cebus/react-table

Weekly Downloads

8

Version

0.0.6

License

MIT

Unpacked Size

257 kB

Total Files

482

Last publish

Collaborators

  • czearing
  • pongobuild