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

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

export { TableProvider, useTableContext }
