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;
}

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 2.0.3
    1
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 2.0.3
    1
  • 2.0.2
    1
  • 2.0.1
    1
  • 1.0.0
    1

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