diff --git a/src/components/inputs/reactHookForm/booleans/SwitchInput.tsx b/src/components/inputs/reactHookForm/booleans/SwitchInput.tsx
index 2d1a03ab6..cec92f3db 100644
--- a/src/components/inputs/reactHookForm/booleans/SwitchInput.tsx
+++ b/src/components/inputs/reactHookForm/booleans/SwitchInput.tsx
@@ -8,12 +8,11 @@
import { Switch, SwitchProps } from '@mui/material';
import { BooleanInput } from './BooleanInput';
-export interface SwitchInputProps {
+export interface SwitchInputProps extends SwitchProps {
name: string;
label?: string;
- formProps?: SwitchProps;
}
-export function SwitchInput({ name, label, formProps, ...props }: SwitchInputProps) {
- return ;
+export function SwitchInput({ name, label, ...props }: Readonly) {
+ return ;
}