We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 00e6a8f commit 1de3bc3Copy full SHA for 1de3bc3
README.md
@@ -100,14 +100,14 @@ export const Heading: <E extends React.ElementType = typeof defaultElement>(
100
) => React.ReactElement | null = React.forwardRef(
101
<E extends React.ElementType = typeof defaultElement>(
102
{ color, style, ...restProps }: HeadingProps<E>,
103
- innerRef: typeof restProps.ref
+ ref: typeof restProps.ref
104
) => {
105
return (
106
<Box
107
as={defaultElement}
108
+ ref={ref}
109
style={{ color, ...style }}
110
{...restProps}
- ref={innerRef}
111
/>
112
);
113
}
0 commit comments