| 6 | import { WrapDom } from './utils/react'; |
| 7 | |
| 8 | export interface ModalState { |
| 9 | /** |
| 10 | * Modal title |
| 11 | */ |
| 12 | title: ReactElement<any>; |
| 13 | |
| 14 | /** |
| 15 | * Modal content |
| 16 | */ |
| 17 | content: ReactElement<any>; |
| 18 | |
| 19 | /** |
| 20 | * Modal attributes |
| 21 | */ |
| 22 | attributes: Record<string, any>; |
| 23 | |
| 24 | /** |
| 25 | * Callback for closing the modal |
| 26 | */ |
| 27 | close: () => void; |
| 28 | } |
| 29 | |
| 30 | export interface ModalResultProps extends ModalState { |
| 31 | /** |
nothing calls this directly
no outgoing calls
no test coverage detected