import { createContext } from '../utils'
import { DialogContext } from './dialog.types'

const [DialogProvider, useDialogContext] = createContext<DialogContext>({ isOptional: true })

export { DialogProvider, useDialogContext }
