Facing following TS error on popover component, No idea how to fix this.
'React' has no exported member named 'ElementRef'. Did you mean 'CElement'?
const Content = React.forwardRef<
React.ElementRef<typeof PopoverPrimitive.Content>,
React.ComponentPropsWithoutRef<typeof PopoverPrimitive.Content>
>(({ align = "center", sideOffset = 4, ...props }, ref) => (
Thanks 🐼
Facing following TS error on popover component, No idea how to fix this.
'React' has no exported member named 'ElementRef'. Did you mean 'CElement'?Thanks 🐼