UNPKG

@zag-js/pagination

Version:

Core logic for the pagination widget implemented as a state machine

12 lines (9 loc) 545 B
import { Scope } from '@zag-js/core'; declare const getRootId: (ctx: Scope) => any; declare const getFirstTriggerId: (ctx: Scope) => any; declare const getPrevTriggerId: (ctx: Scope) => any; declare const getNextTriggerId: (ctx: Scope) => any; declare const getLastTriggerId: (ctx: Scope) => any; declare const getEllipsisId: (ctx: Scope, index: number) => any; declare const getItemId: (ctx: Scope, page: number) => any; export { getEllipsisId, getFirstTriggerId, getItemId, getLastTriggerId, getNextTriggerId, getPrevTriggerId, getRootId };