| 39 | } |
| 40 | |
| 41 | export interface ModalEventProps { |
| 42 | open: boolean; |
| 43 | title: string | HTMLElement; |
| 44 | content: string | HTMLElement; |
| 45 | attributes: Record<string, any>; |
| 46 | close: () => void; |
| 47 | } |
| 48 | |
| 49 | const ModalProvider = memo(function ({ children }: ModalProviderProps) { |
| 50 | const { editor } = useEditorInstance(); |
nothing calls this directly
no outgoing calls
no test coverage detected