import { createContext } from '../utils'
import type { PaginationContext } from './pagination.types'

const [PaginationProvider, usePaginationContext] = createContext<PaginationContext>({ isOptional: true })

export { PaginationProvider, usePaginationContext }
