mirror of
https://github.com/gosticks/react-bootstrap-table2.git
synced 2025-10-16 11:55:39 +00:00
add toolkits styles
This commit is contained in:
parent
925d3d7841
commit
f7406bcafc
@ -26,7 +26,8 @@ const JS_SKIPS = `+(${TEST}|${LIB}|${DIST}|${NODE_MODULES})`;
|
|||||||
const STYLE_PKGS = [
|
const STYLE_PKGS = [
|
||||||
'react-bootstrap-table2',
|
'react-bootstrap-table2',
|
||||||
'react-bootstrap-table2-filter',
|
'react-bootstrap-table2-filter',
|
||||||
'react-bootstrap-table2-paginator'
|
'react-bootstrap-table2-paginator',
|
||||||
|
'react-bootstrap-table2-toolkit',
|
||||||
].reduce((pkg, curr) => `${curr}|${pkg}`, '');
|
].reduce((pkg, curr) => `${curr}|${pkg}`, '');
|
||||||
|
|
||||||
const STYLE_SKIPS = `+(${NODE_MODULES})`;
|
const STYLE_SKIPS = `+(${NODE_MODULES})`;
|
||||||
|
|||||||
@ -16,6 +16,16 @@ In the future, this toolkit will support other feature like row delete, insert e
|
|||||||
$ npm install react-bootstrap-table2-toolkit --save
|
$ npm install react-bootstrap-table2-toolkit --save
|
||||||
```
|
```
|
||||||
|
|
||||||
|
## Add CSS
|
||||||
|
|
||||||
|
```js
|
||||||
|
// es5
|
||||||
|
require('react-bootstrap-table2-toolkit/dist/react-bootstrap-table2-toolkit.min.css');
|
||||||
|
|
||||||
|
// es6
|
||||||
|
import 'react-bootstrap-table2-toolkit/dist/react-bootstrap-table2-toolkit.min.css';
|
||||||
|
```
|
||||||
|
|
||||||
## Table Search
|
## Table Search
|
||||||
|
|
||||||
```js
|
```js
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user