import React from 'react'; import { Popover as PopoverPrimitive, PopoverProps as PopoverPropsPrimitive } from '@modulz/primitives'; export type PopoverProps = PopoverPropsPrimitive type ExtractRefType = TypesThatMayContainReactRef extends {ref?: React.Ref} ? T : unknown; type PrimitiveRefType = ExtractRefType export const Popover = React.forwardRef((props, ref) => { return ( ); });