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 a7d255e commit 2d9c8fcCopy full SHA for 2d9c8fc
src/RawItem.tsx
@@ -14,7 +14,7 @@ const InternalRawItem = (props: RawItemProps, ref: React.Ref<any>) => {
14
// Render directly when context not provided
15
if (!context) {
16
const { component: Component = 'div', ...restProps } = props;
17
- return <Component {...restProps} />;
+ return <Component {...restProps} ref={ref} />;
18
}
19
20
const { className: contextClassName, ...restContext } = context;
0 commit comments