diff --git a/src/index.tsx b/src/index.tsx index 41e81e6..5161194 100644 --- a/src/index.tsx +++ b/src/index.tsx @@ -9,7 +9,7 @@ export type SwitchChangeEventHandler = ( ) => void; export type SwitchClickEventHandler = SwitchChangeEventHandler; -interface SwitchProps +export interface SwitchProps extends Omit, 'onChange' | 'onClick'> { className?: string; prefixCls?: string;