From 95370332c0e16d35095e201eb41fe8e97b41f17e Mon Sep 17 00:00:00 2001 From: AllenFang Date: Wed, 31 Jan 2018 23:51:41 +0800 Subject: [PATCH] missing to introduce the filter css --- docs/basic-filter.md | 10 ++++++++++ website/blog/2018-02-02-version-bump.md | 2 ++ 2 files changed, 12 insertions(+) diff --git a/docs/basic-filter.md b/docs/basic-filter.md index 29fadeb..eee8e1d 100644 --- a/docs/basic-filter.md +++ b/docs/basic-filter.md @@ -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 diff --git a/website/blog/2018-02-02-version-bump.md b/website/blog/2018-02-02-version-bump.md index e447a9b..f234f59 100644 --- a/website/blog/2018-02-02-version-bump.md +++ b/website/blog/2018-02-02-version-bump.md @@ -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)) \ No newline at end of file