12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849 |
- import { IBaseProps } from '../_util/base';
- export interface ChecklistItem {
-
- description?: string;
-
- image?: string;
-
- title: string;
-
- value: string | number;
- disabled?: boolean;
- readonly?: boolean;
- }
- export interface IChecklistProps extends IBaseProps {
-
- value: Array<string | number> | string | number;
-
- defaultValue: Array<string | number> | string | number;
-
- multiple: boolean;
-
- options: Array<ChecklistItem>;
-
- onChange: (v: Array<string | number> | string | number, item: ChecklistItem | Array<ChecklistItem>, e: Record<string, any>) => void;
- }
- export declare const ChecklistDefaultProps: Partial<IChecklistProps>;
- export declare const ChecklistFunctionalProps: Partial<IChecklistProps>;
|