Skip to content

Commit 27f69ec

Browse files
committed
make options prop optional in BooleanInput
1 parent baa1f4c commit 27f69ec

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/ra-ui-materialui/src/input/BooleanInput.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ BooleanInput.propTypes = {
117117
export type BooleanInputProps = CommonInputProps &
118118
SwitchProps &
119119
Omit<FormGroupProps, 'defaultValue' | 'onChange' | 'onBlur' | 'onFocus'> & {
120-
options: SwitchProps;
120+
options?: SwitchProps;
121121
};
122122

123123
const defaultOptions = {};

0 commit comments

Comments
 (0)