import { createContext } from '../utils'
import type { HeaderContext } from './header.types'

const [HeaderProvider, useHeaderContext] = createContext<HeaderContext>({ isOptional: true })

export { HeaderProvider, useHeaderContext }
