rv-checkbox

0.1.4 • Public • Published

RVCheckbox

基于 react-virtualized 的 大数据量下的多选 checkbox 组件

Development

npm install
npm start

install

rv-checkbox

Usage

import RVCheckbox from 'rv-checkbox'
<RVCheckbox options={[{label:'', value:''} ... ]} />

API

props

props 说明 参数类型 默认值
disabled 失效状态 boolean false
value 指定选中的选项 string[] | number[] []
defaultValue 默认选中的选项 string[] | number[] []
options 指定可选项 string[] []
onChange 变化时回调函数 Function(checkedValue) -
filter 是否过滤 boolean | Function(filterText, label) false
height 高度 string | number -
width 宽度 string | number -

Dependencies (13)

Dev Dependencies (0)

    Package Sidebar

    Install

    npm i rv-checkbox

    Weekly Downloads

    1

    Version

    0.1.4

    License

    MIT

    Unpacked Size

    58.4 kB

    Total Files

    22

    Last publish

    Collaborators

    • clark.gao