diff --git a/docs/src/components/productBaseUI/BaseUICustomization.tsx b/docs/src/components/productBaseUI/BaseUICustomization.tsx index 5307c1ea33..2670dba41a 100644 --- a/docs/src/components/productBaseUI/BaseUICustomization.tsx +++ b/docs/src/components/productBaseUI/BaseUICustomization.tsx @@ -177,7 +177,7 @@ const StyledSwitchThumb = styled('span')` `; function SwitchFromHook(props: UseSwitchParameters) { - const { getInputProps, getButtonProps, checked, disabled } = useSwitch(props); + const { getInputProps, checked, disabled } = useSwitch(props); const stateAttributes = { 'data-state': checked ? 'checked' : 'unchecked', @@ -185,7 +185,7 @@ function SwitchFromHook(props: UseSwitchParameters) { }; return ( - +