import { createContext } from '../utils'
import type { TableContext } from './table.types'

const [TableProvider, useTableContext] = createContext<TableContext>({ isOptional: true })

export { TableProvider, useTableContext }
