import { createContext } from '../utils'
import { SelectContext } from './select.types'

const [SelectProvider, useSelectContext] = createContext<SelectContext>({ isOptional: true })

export { SelectProvider, useSelectContext }
