diff --git a/src/AsyncButton.tsx b/src/AsyncButton.tsx index ad26f37..5aba15e 100644 --- a/src/AsyncButton.tsx +++ b/src/AsyncButton.tsx @@ -154,5 +154,5 @@ AsyncButton.propTypes = { }; export default AsyncButton as ( - props: AsyncButtonProps & { ref?: PolymorphicRef }, + props: AsyncButtonProps & React.RefAttributes>, ) => React.ReactElement | null;