props.d.ts 468 B

123456789101112131415
  1. import { IBaseProps } from '../../_util/base';
  2. export interface ICheckboxGroupProps extends IBaseProps {
  3. value: string[];
  4. defaultValue: string[];
  5. disabled?: boolean;
  6. position: 'horizontal' | 'vertical';
  7. color: string;
  8. options: {
  9. label?: string;
  10. value?: string;
  11. disabled?: boolean;
  12. }[];
  13. onChange?: (value: string[], e: any) => void;
  14. }
  15. export declare const CheckboxGroupDefaultProps: Partial<ICheckboxGroupProps>;