missing to introduce the filter css

This commit is contained in:
AllenFang 2018-01-31 23:51:41 +08:00
parent 265d116f59
commit 95370332c0
2 changed files with 12 additions and 0 deletions

View File

@ -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

View File

@ -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))