0.2.1 • Published 2 years ago

pui-table v0.2.1

Weekly downloads
-
License
ISC
Repository
-
Last release
2 years ago

Demo

✏️ CodeSandbox

Instalation

To install pui-table with npm:

npm install pui-table --save

🚀 Usage

Add styles to index.js, _app.js or whatever the entry point is:

import "pui-table/styles.css";

Component instace:

import Table from "pui-table";
<Table 
  headers={[
    { Header: "nº", accesor: "priority" },
    { Header: "Name", accesor: "name" },
    { Header: "Age", accesor: "age" }
  ]}
  data={[
    { name: "Rachel", age: 25, priority: 1 },
    { name: "Ross", age: 23, priority: 2 },
    { name: "Joey", age: 24, priority: 3 },
    { name: "Phoebe", age: 26, priority: 4 },
    { name: "Chandler", age: 24, priority: 5 },
    { name: "Mónica", age: 24, priority: 6 }
  ]}
/>

NPM Package

pui-table

License

pui-table is released under the MIT License.

0.2.1

2 years ago

0.2.0

2 years ago

0.1.2

3 years ago

0.1.1

3 years ago

0.1.0

3 years ago