import { createContext } from '../utils'
import type { NotificationProps } from './notification.types'

const [NotificationProvider, useNotificationContext] = createContext<Partial<NotificationProps>>({ isOptional: true })

export { NotificationProvider, useNotificationContext }
