Added innerRef prop to all Popovers from PopoverRoot

• Added:
- innerRef prop to all Popovers from PopoverRoot
This commit is contained in:
mgabdev 2020-10-28 23:17:07 -05:00
parent 84d8c3aa13
commit 5f801c94e7

View File

@ -148,7 +148,7 @@ class PopoverRoot extends React.PureComponent {
renderDelay={150}
>
{
(Component) => <Component isXS={isXS} {...props} />
(Component) => <Component innerRef={this.setRef} isXS={isXS} {...props} />
}
</Bundle>
}