import clsx from 'clsx'; import { CProps } from '../props'; interface OverlayProps extends CProps.Styling { id?: string; children: React.ReactNode; position?: string; layer?: string; } function Overlay({ children, className, position = 'top-0 right-0', layer = 'z-pop', ...restProps }: OverlayProps) { return (