import { createContext } from '../utils'
import { ModalContext } from './modal.types'

const [ModalProvider, useModalContext] = createContext<ModalContext>({ isOptional: true })

export { ModalProvider, useModalContext }
