diff --git a/apps/docs/content/components/button/custom-impl.ts b/apps/docs/content/components/button/custom-impl.ts index 4fa0c7fe08..ba0fd6e3e4 100644 --- a/apps/docs/content/components/button/custom-impl.ts +++ b/apps/docs/content/components/button/custom-impl.ts @@ -6,7 +6,6 @@ const MyButton = forwardRef((props, ref) => { const { domRef, children, - ripples, spinnerSize, spinner = , spinnerPlacement, @@ -15,11 +14,14 @@ const MyButton = forwardRef((props, ref) => { isLoading, disableRipple, getButtonProps, + getRippleProps, } = useButton({ ref, ...props, }); + const {ripples} = getRippleProps(); + return (