@pongo-ui/react-table
v0.0.3
Published
The Table component displays sets of data.
Downloads
1
Readme
Table
The Table component displays sets of data.
Use
- Install the @pongo-ui/react-table component.
Using NPM
npm install @pongo-ui/react-table
Using Yarn
yarn add @pongo-ui/react-table
Install the @pongo-ui/react-provider and our theme tokens from @pongo-ui/react-theme
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>
)
}
- 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.