diff --git a/src/Switch/index.tsx b/src/Switch/index.tsx index db88eb2e..a19ace14 100644 --- a/src/Switch/index.tsx +++ b/src/Switch/index.tsx @@ -1,6 +1,9 @@ import { Switch as AntdSwitch, SwitchProps as AntdSwitchProps } from 'antd'; +import { SwitchSize as AntdSwitchSize } from 'antd/es/switch'; import * as React from 'react'; +export type SwitchSize = AntdSwitchSize; + export type SwitchProps = AntdSwitchProps; export const Switch: React.ForwardRefExoticComponent<