import clsx from 'clsx'; import React from 'react'; interface OverlayProps { onDismiss: () => void; dismissLabel?: string; className?: string; } export const Overlay: React.FC = ({ onDismiss, className }) => { const handleKeyDown = (e: React.KeyboardEvent) => { if (e.key === 'Escape' || e.key === 'Enter' || e.key === ' ') { e.preventDefault(); onDismiss(); } }; return (
); };