mirror of
https://github.com/gosticks/react-bootstrap-table2.git
synced 2025-10-16 11:55:39 +00:00
missing to introduce the filter css
This commit is contained in:
parent
265d116f59
commit
95370332c0
@ -17,6 +17,16 @@ sidebar_label: Column Filter
|
||||
$ npm install react-bootstrap-table2-filter --save
|
||||
```
|
||||
|
||||
## Add CSS
|
||||
|
||||
```js
|
||||
// es5
|
||||
require('react-bootstrap-table2-filter/dist/react-bootstrap-table2-filter.min.css');
|
||||
|
||||
// es6
|
||||
import 'react-bootstrap-table2-filter/dist/react-bootstrap-table2-filter.min.css';
|
||||
```
|
||||
|
||||
You can get all types of filters via import and these filters are a factory function to create a individual filter instance. Currently, we support following filters:
|
||||
|
||||
* TextFilter
|
||||
|
||||
@ -21,4 +21,6 @@ This release bump following packages:
|
||||
* Support Select Filter([#183](https://github.com/react-bootstrap-table/react-bootstrap-table2/pull/183))
|
||||
|
||||
### Enhancements
|
||||
* Column filter style improvement([#183](https://github.com/react-bootstrap-table/react-bootstrap-table2/pull/183))
|
||||
* Remember to add the css of `react-bootstrap-table2-filter`
|
||||
* Fix key field in cell should not be cell value([#172](https://github.com/react-bootstrap-table/react-bootstrap-table2/issues/172))
|
||||
Loading…
Reference in New Issue
Block a user