| 112 | } |
| 113 | |
| 114 | interface ModalProps { |
| 115 | title: string; |
| 116 | children?: any; |
| 117 | actions?: React.ReactNode[]; |
| 118 | defaultMax?: boolean; |
| 119 | footer?: React.ReactNode; |
| 120 | onClose?: () => void; |
| 121 | } |
| 122 | export function Modal(props: ModalProps) { |
| 123 | useEffect(() => { |
| 124 | const onKeyDown = (e: KeyboardEvent) => { |
nothing calls this directly
no outgoing calls
no test coverage detected