Skip to content

Commit 0a3264b

Browse files
committed
fixed non-required props
1 parent f8b4160 commit 0a3264b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/bootstrap-switch-button-react.d.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,8 @@ interface BootstrapSwitchButtonProps {
3333
offstyle?: Colors | ColorsOutline;
3434
size?: "xs" | "sm" | "lg";
3535
style?: string;
36-
width: number;
37-
height: number;
36+
width?: number;
37+
height?: number;
3838
}
3939

4040
declare class BootstrapSwitchButton extends React.Component<

0 commit comments

Comments
 (0)