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