import { createContext } from '../utils'
import type { InputProps } from './input.types'

const [InputProvider, useInputContext] = createContext<Partial<InputProps>>({ isOptional: true })

export { InputProvider, useInputContext }
