imballinst / react-bs-datatable

Bootstrap datatable without jQuery. Features include: filter, sort, pagination, checkbox, and control customization.
https://imballinst.github.io/react-bs-datatable
MIT License
59 stars 20 forks source link

Rework the package #19

Closed imballinst closed 5 years ago

imballinst commented 5 years ago

There are a lot of debts to do.

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.

imballinst commented 5 years ago

Fixed with https://github.com/Imballinst/react-bs-datatable/pull/40.