Navigation Menu

Skip to content

gaochGitHub/rv-checkbox

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 -

About

react-virtualized-checkbox

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published