| 4 | import { Backdrop } from "./backdrop" |
| 5 | |
| 6 | interface ModalProps { |
| 7 | isOpen: boolean |
| 8 | onClose: () => void |
| 9 | children: ReactNode |
| 10 | className?: string |
| 11 | getInitialFocus?: () => HTMLElement | null |
| 12 | restoreFocus?: boolean |
| 13 | ariaLabel?: string |
| 14 | } |
| 15 | |
| 16 | export const Modal = ({ |
| 17 | isOpen, |
nothing calls this directly
no outgoing calls
no test coverage detected
searching dependent graphs…