/// import { CommonInputProps, ComponentGeneralProps, FormItemProps, SwitchValueType, ValueType } from '@/types'; export interface RsSwitchSharedProps { switchType?: 'check' | 'switch'; switchValueType?: SwitchValueType; } export interface InnerSwitchProps extends ComponentGeneralProps, RsSwitchSharedProps, Omit { value?: ValueType; autoFocus?: boolean; requireMsg?: string; size?: 'default' | 'small'; checked?: boolean; disabled?: boolean; onChange?: (value: string | boolean) => void; onBlur?: () => void; checkedChildren?: React.ReactNode; unCheckedChildren?: React.ReactNode; } export interface RsSwitchProps extends FormItemProps, InnerSwitchProps { __designMode?: string; id?: string; }