@progress/kendo-themes-html
Version:
A collection of HTML helpers used for developing Kendo UI themes
51 lines (50 loc) • 1.54 kB
TypeScript
export declare const PAGER_CLASSNAME = "k-pager";
declare const states: ("focus" | "disabled")[];
declare const options: {
size: ("small" | "medium" | "large")[];
};
export type KendoPagerOptions = {
size?: (typeof options.size)[number] | null;
};
export type KendoPagerProps = KendoPagerOptions & {
responsive?: boolean;
pagerSizeInfo?: boolean;
pageTitleInfo?: boolean;
maxPagesInfo?: boolean;
type?: 'numeric' | 'input';
pageSizes?: boolean;
refresh?: boolean;
info?: boolean | string;
dir?: 'ltr' | 'rtl';
itemsPerPage?: number;
maxPages?: number;
currentPage?: number;
previousNext?: boolean;
};
export type KendoPagerState = {
[K in (typeof states)[number]]?: boolean;
};
export declare const Pager: {
(props: KendoPagerProps & KendoPagerState & React.HTMLAttributes<HTMLDivElement>): import("react/jsx-runtime").JSX.Element;
states: ("focus" | "disabled")[];
options: {
size: ("small" | "medium" | "large")[];
};
className: string;
defaultOptions: {
readonly responsive: true;
readonly size: "medium";
readonly pagerSizeInfo: true;
readonly pageTitleInfo: true;
readonly maxPagesInfo: true;
readonly type: "numeric";
readonly pageSizes: true;
readonly refresh: true;
readonly previousNext: true;
readonly info: "1 - 5 of 20 items";
readonly itemsPerPage: 5;
readonly maxPages: 6;
readonly currentPage: 1;
};
};
export default Pager;