diff --git a/src/components/Button.tsx b/src/components/Button.tsx index 26b0f89f66..06de6890bc 100644 --- a/src/components/Button.tsx +++ b/src/components/Button.tsx @@ -468,6 +468,7 @@ export const Button = React.forwardRef( role="button" accessibilityHint={undefined} // optional {...rest} + // @ts-expect-error ref type ref={ref} aria-label={label} aria-pressed={state.pressed}