@smitch/fluid
Version:
A Next/React ui-component libray.
27 lines (26 loc) • 901 B
TypeScript
/// <reference types="react" />
export interface PaginationProps {
size?: 'md' | 'lg' | 'xl';
page: string;
range: number;
results: number;
feedback?: boolean;
feedbackLabel?: string;
feedbackSeparator?: string;
firstPageLabel?: string;
lastPageLabel?: string;
prevPageLabel?: string;
nextPageLabel?: string;
vertical?: boolean;
icons?: boolean;
minimal?: boolean;
layout?: 'horizontal' | 'vertical';
rounded?: boolean;
outline?: 'none' | 'thin' | 'thick';
outlineColor?: 'light' | 'dark' | 'grey';
onChange: (e: any) => void;
className?: string;
style?: React.CSSProperties;
btnBackground?: 'dark' | 'light' | 'info' | 'success' | 'warning' | 'danger' | 'primary' | 'secondary' | 'transparent';
btnColor?: 'dark' | 'light' | 'info' | 'success' | 'warning' | 'danger' | 'primary' | 'secondary' | 'current';
}