UNPKG

@mantine/core

Version:

React components library focused on usability, accessibility and developer experience

23 lines (22 loc) 832 B
import { BoxProps, CompoundStylesApiProps, ElementProps, Factory } from '../../../core'; export type PaginationFormatLabel = (input: { page: number; totalPages: number; }) => string; export type PaginationLabelStylesNames = 'label'; export interface PaginationLabelProps extends BoxProps, CompoundStylesApiProps<PaginationLabelFactory>, ElementProps<'div'> { /** Function to format the label text */ formatLabel?: PaginationFormatLabel; } export type PaginationLabelFactory = Factory<{ props: PaginationLabelProps; ref: HTMLDivElement; stylesNames: PaginationLabelStylesNames; compound: true; }>; export declare const PaginationLabel: import("../../..").MantineComponent<{ props: PaginationLabelProps; ref: HTMLDivElement; stylesNames: PaginationLabelStylesNames; compound: true; }>;