props.d.ts 432 B

1234567891011121314
  1. import { IBaseProps } from '../../_util/base';
  2. import { ChecklistItem } from '../props';
  3. /**
  4. * @description 可勾选列表单项
  5. */
  6. export interface IChecklistItemProps extends IBaseProps {
  7. item: ChecklistItem;
  8. checked: boolean;
  9. /**
  10. * @description 当项选项值改变时触发
  11. */
  12. onChange: (item: ChecklistItem) => void;
  13. }
  14. export declare const ChecklistItemDefaultProps: Partial<IChecklistItemProps>;