UNPKG

@konstructio/ui

Version:

A set of reusable and customizable React components built for konstruct.io

21 lines (20 loc) 428 B
import { createContext as e } from "react"; const n = { content: void 0, isOpen: !1, shouldShowClose: !0, onOpen: () => { throw new Error("onOpen not implemented"); }, onClose: () => { throw new Error("onClose not implemented"); }, setContentAndOpen: () => { throw new Error( "ModalContext: setContentAndOpen function must be overridden" ); } }, t = e(n); export { t as ModalContext };