gov-gui
Version:
Gov UI Component Library Typscript Build
115 lines (114 loc) • 3.08 kB
TypeScript
import '../../global/animate.min.css';
/**
* Pagination divides content into discrete pages, allowing users to navigate through them easily.
* It is particularly useful for large datasets or lists, improving readability and accessibility.
* This component handles user interaction with the dataset by updating the current page and firing events
* when the user navigates to a different page.
*/
declare const _default: {
title: string;
tags: string[];
parameters: {
actions: {
handles: string[];
};
};
argTypes: {
totalPages: {
control: string;
description: string;
table: {
type: {
summary: string;
};
defaultValue: {
summary: number;
};
category: string;
};
};
currentPage: {
control: string;
description: string;
table: {
type: {
summary: string;
};
defaultValue: {
summary: number;
};
category: string;
};
};
showFirstLast: {
control: string;
description: string;
table: {
type: {
summary: string;
};
defaultValue: {
summary: boolean;
};
category: string;
};
};
maxVisible: {
control: string;
description: string;
table: {
type: {
summary: string;
};
defaultValue: {
summary: number;
};
category: string;
};
};
animation: {
control: string;
options: string[];
description: string;
table: {
type: {
summary: string;
};
defaultValue: {
summary: string;
};
category: string;
};
};
animationDelay: {
control: string;
options: string[];
description: string;
table: {
type: {
summary: string;
};
defaultValue: {
summary: string;
};
category: string;
};
};
animationSpeed: {
control: string;
options: string[];
description: string;
table: {
type: {
summary: string;
};
defaultValue: {
summary: string;
};
category: string;
};
};
};
};
export default _default;
export declare const Pagination: any;