UNPKG

react-pdf-builder

Version:
12 lines (11 loc) 755 B
import { ViewProps } from '@react-pdf/renderer'; import React from 'react'; import { SwatchColor } from '../../themes/ColorScheme'; export interface TemplateProps extends ViewProps { children?: any; /** Optional. Class name string used to style the component. [Class names](https://justinmahar.github.io/react-pdf-builder/?path=/docs/documentation-themes--docs#class-names) are defined in themes. */ className?: string; /** Optional. One of the [swatch color names](https://justinmahar.github.io/react-pdf-builder/?path=/docs/documentation-themes--docs#swatch-colors) from the theme, as a string. */ swatch?: SwatchColor; } export declare const Template: ({ children, className, style, ...props }: TemplateProps) => React.JSX.Element;