Skip to content

Commit

Permalink
loadingIcon optional (#55)
Browse files Browse the repository at this point in the history
  • Loading branch information
hengkx authored Aug 24, 2020
1 parent 4110a7b commit dcb1c6a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ interface SwitchProps
tabIndex?: number;
checked?: boolean;
defaultChecked?: boolean;
loadingIcon: React.ReactNode;
loadingIcon?: React.ReactNode;
style?: React.CSSProperties;
title?: string;
}
Expand Down

0 comments on commit dcb1c6a

Please sign in to comment.