123456789101112131415161718192021222324252627282930313233343536373839404142434445 |
- import { IBaseProps } from '../_util/base';
- export interface ISwitchProps extends IBaseProps {
-
- checked?: boolean;
-
- loading?: boolean;
-
- color?: string;
-
- checkedText?: string;
-
- uncheckedText?: string;
-
- size?: 'medium' | 'small' | 'x-small';
-
- disabled?: boolean;
-
- defaultChecked?: boolean;
-
- onChange?: (checked: boolean, e: Record<string, any>) => void;
- }
- export declare const SwitchDefaultProps: Partial<ISwitchProps>;
- export declare const SwitchFunctionalProps: Partial<ISwitchProps>;
|