From 6f29a4d29be44934405ff83631b5dc542cc0c63e Mon Sep 17 00:00:00 2001 From: claudvanbarret Date: Thu, 3 Sep 2020 09:39:12 -0300 Subject: [PATCH] fix: export SwitchProps --- src/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;