npm

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

0.0.3 • Public • Published

Table

The Table component displays sets of data.

Use

  1. Install the @pongo-ui/react-table component.

Using NPM

npm install @pongo-ui/react-table

Using Yarn

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

  2. Set up the provider in your app:

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

const MyApp = () => {
  return (
    <Provider theme={webLightTheme}>
    <Provider>
  )
}
  1. Integrate the Table component.
import { Provider } from '@pongo-ui/react-provider'
import { webLightTheme } from '@pongo-ui/react-theme'
import { Table, ... } from '@pongo-ui/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 @pongo-ui/react-table

Weekly Downloads

0

Version

0.0.3

License

MIT

Unpacked Size

256 kB

Total Files

482

Last publish

Collaborators

  • pongobuild
  • czearing