diff --git a/src/index.tsx b/src/index.tsx index 271eeee..41e81e6 100644 --- a/src/index.tsx +++ b/src/index.tsx @@ -22,7 +22,7 @@ interface SwitchProps tabIndex?: number; checked?: boolean; defaultChecked?: boolean; - loadingIcon: React.ReactNode; + loadingIcon?: React.ReactNode; style?: React.CSSProperties; title?: string; }