Skip to content

Commit dcb1c6a

Browse files
authored
loadingIcon optional (#55)
1 parent 4110a7b commit dcb1c6a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ interface SwitchProps
2222
tabIndex?: number;
2323
checked?: boolean;
2424
defaultChecked?: boolean;
25-
loadingIcon: React.ReactNode;
25+
loadingIcon?: React.ReactNode;
2626
style?: React.CSSProperties;
2727
title?: string;
2828
}

0 commit comments

Comments
 (0)