UNPKG

react-pdf-builder

Version:
13 lines (12 loc) 516 B
import * as React from 'react'; import { ElementProps } from 'react-html-props'; import { Theme } from '../../themes/Theme'; export declare const PDFThemeProviderContext: React.Context<Theme>; export interface PDFThemeProviderProps extends ElementProps { theme: Theme; } /** * Provider used to specify the theme used by all React PDF Builder components. */ export declare function PDFThemeProvider({ children, theme }: PDFThemeProviderProps): JSX.Element; export declare const usePDFThemeContext: () => Theme;