UNPKG

react-pdf-builder

Version:
11 lines (10 loc) 700 B
import React from 'react'; import { ThemedTextProps } from '../basics/ThemedText'; export interface PageNumberProps extends ThemedTextProps { /** Optional. Customize how the page number string is displayed with a template string containing `%n` for the current page number, `%t` for the total number of pages, `%sn` for the sub page number, or `%st` for the sub pages total. Default format is `"%n / %t"`. */ format?: string; } /** * Read the [full documentation for PageNumber](https://justinmahar.github.io/react-pdf-builder/?path=/docs/documentation-components-pagenumber--docs) */ export declare const PageNumber: ({ className, style, ...props }: PageNumberProps) => React.JSX.Element;