diff --git a/packages/react-core/src/components/MenuToggle/MenuToggleCheckbox.tsx b/packages/react-core/src/components/MenuToggle/MenuToggleCheckbox.tsx index ac9e017169c..25edd88c0c3 100644 --- a/packages/react-core/src/components/MenuToggle/MenuToggleCheckbox.tsx +++ b/packages/react-core/src/components/MenuToggle/MenuToggleCheckbox.tsx @@ -20,7 +20,7 @@ export interface MenuToggleCheckboxProps /** Flag to set the default checked value of the checkbox when it is uncontrolled by React state. * To make the checkbox controlled instead use the isChecked prop, but do not use both. */ - defaultChecked?: boolean | null; + defaultChecked?: boolean; /** A callback for when the checkbox selection changes */ onChange?: (checked: boolean, event: React.FormEvent) => void; /** Element to be rendered inside the */