Closed imballinst closed 5 years ago
There are a lot of debts to do.
table
thead
tbody
import { Table, Thead } from 'some-other-package'; <Datatable components={{ table: Table, th: Thead }} />
This removes the "tie" of using react-bootstrap and opens up the possibility of combining this with other component libraries.
UPDATE for this: instead of replacing, I'll add an abstract table.
yarn
npm
Fixed with https://github.com/Imballinst/react-bs-datatable/pull/40.
There are a lot of debts to do.
table
,thead
,tbody
, etc. and give option to change the used components. One of the idea I could think of is using props, e.g.This removes the "tie" of using react-bootstrap and opens up the possibility of combining this with other component libraries.
UPDATE for this: instead of replacing, I'll add an abstract table.
yarn
instead ofnpm