ux-checkbox-zhangjunqiu
TypeScript icon, indicating that this package has built-in type declarations

2.0.3 • Public • Published

API

interface IProps {
  options: Array<IOption>;
  value: Array<string>; // 选中的复选框的value的数组
  disableValue?: Array<string>; // 禁用的复选框的value的数组
  onChange: (value: Array<string>, disableValue: Array<string>) => void;
  style?: object; // 每个复选框的样式,默认为横排,间距xx,字体xx,字号xx
  showAllCheck?: boolean; // 是否显示全选,默认为false
}
interface IOption {
  label: string;
  value: string;
}

Readme

Keywords

none

Package Sidebar

Install

npm i ux-checkbox-zhangjunqiu

Weekly Downloads

4

Version

2.0.3

License

ISC

Unpacked Size

183 kB

Total Files

17

Last publish

Collaborators

  • beisencorp