robust-react-ui
Version:
A React component library, built with a focus on accessibility, extensibility and reusability.
20 lines (19 loc) • 417 B
TypeScript
export interface IPaginationButtonProps {
current: boolean;
href: string;
pageNumber: number;
}
export interface IPaginationProps {
/**
* Enables a rounded button theme.
*/
rounded?: boolean;
/**
* An accessible label.
*/
ariaLabel?: string;
/**
* Data supporting an array of pagination buttons
*/
data: IPaginationButtonProps[];
}