From e241dd96adc496ad8d90356fba432b8f81174e3d Mon Sep 17 00:00:00 2001 From: Benedikt Franke Date: Tue, 31 Dec 2024 10:51:07 +0100 Subject: [PATCH] feat: export SwitchSize --- src/Switch/index.tsx | 3 +++ 1 file changed, 3 insertions(+) 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<