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

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

export { PaginationProvider, usePaginationContext }
