0.0.2 • Published 2 years ago

hgs-t v0.0.2

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

react-bootstrap-table2

Build Status
Rebuild of react-bootstrap-table

Note that react-bootstrap-table2's npm module name is react-bootstrap-table-next due to the name being already taken.

react-bootstrap-table2 separates some functionalities from its core modules to other modules as listed in the following:

Not only does this reduce the bundle size of your apps but also helps us have a cleaner design to avoid handling too much logic in the kernel module(SRP).

Migration

If you are coming from the legacy react-bootstrap-table, please check out the migration guide.

Usage

See getting started.

Online Demo

See react-bootstrap-table2 storybook.

Development

Please check the development guide.

Running storybook example on your local machine

# Clone the repo
$ git clone https://github.com/react-bootstrap-table/react-bootstrap-table2.git

# change dir to the cloned repo
$ cd react-bootstrap-table2

# Install all dependencies with yarn
$ yarn install

# Start the stroybook server, then go to localhost:6006
$ yarn storybook

***New Config code :

Add component: ContextMenu in Basic Table,

Add component: ExportOnlyFilteredChoose in Export CSV (User can choose to export all or export by selected filter)

Add Bootstrap 5 in file style React-bootstrap-table2,

Done build,

Storybook examples: packages/react-bootstrap-table2-example/examples