UNPKG

@thehappycoder/react-responsive-pagination

Version:
14 lines (13 loc) 400 B
export declare function createNavWidthCalculator(widths: Params): (type: import("../../../../skins").NavType, enabled: boolean) => number; declare type Params = { previous: { enabled: number; disabled: number; }; next: { enabled: number; disabled: number; }; }; export declare type GetNavWidth = ReturnType<typeof createNavWidthCalculator>; export {};