@eqworks/lumen-table

1.4.1 • Public • Published

@EQWorks/lumen-table

React data table component. Graduated from @EQWorks/react-labs.

Getting started

Firstly, install lumen-table:

npm i @eqworks/lumen-table

Next, install the required peer dependencies:

npm i @eqworks/lumen-ui @material-ui/core @material-ui/icons @material-ui/lab react react-dom

Once you have installed all the required dependencies, wrap your application in a <ThemeProvider>:

import { ThemeProvider } from "@eqworks/lumen-ui";

const MyApp = () => <ThemeProvider>Hello world!</ThemeProvider>;

Now, you can start using lumen-table component:

import { Table } from "@eqworks/lumen-table";

const MyComponent = () => (
  <div>
    <Table />
  </div>
);

Note: You can override the lumen-ui default theme by passing a theme prop to <ThemeProvider>.
Click here to find out how to create your own theme using Material UI's createMuiTheme method.

Readme

Keywords

none

Package Sidebar

Install

npm i @eqworks/lumen-table

Weekly Downloads

0

Version

1.4.1

License

MIT

Unpacked Size

75.4 kB

Total Files

21

Last publish

Collaborators

  • jackchungeq
  • ashish.jullia