2.0.12 • Published 11 months ago

znui-react-filter v2.0.12

Weekly downloads
2
License
MIT
Repository
github
Last release
11 months ago

znui-react-filter

Filter Component.

npm npm

Demo

Take a look at the demo

Installation

npm install znui-react-filter -s

Usage

var ReactDOM = require('react-dom');
var filter = require('znui-react-filter');

ReactDOM.render(<div className="components">
        <filter.Filter data={[
            { label: '姓名', name: 'name', opt: '=', value: 'yangyxu' },
            { label: '年龄', name: 'age', opt: '=', value: '20' },
            { label: '性别', name: 'sex', opt: '=', value: '男' }
        ]} onFilterChange={(event, data, filter)=>console.log(data)} />
        <filter.FilterField onFilterChange={(event)=>console.log(event)} />
        <filter.FilterField opts={['=', '%', '!=']} />
    </div>, document.getElementById('container'));

License

MIT

2.0.12

11 months ago

2.0.11

2 years ago

2.0.10

2 years ago

2.0.9

3 years ago

2.0.8

4 years ago

2.0.7

4 years ago

2.0.6

4 years ago

2.0.5

4 years ago

2.0.4

4 years ago

2.0.2

4 years ago

2.0.1

4 years ago

1.0.2

4 years ago

1.0.1

4 years ago