react-pdf-builder
Version:
Build beautiful PDF documents in React.
11 lines (10 loc) • 645 B
TypeScript
import { CanvasProps } from '@react-pdf/renderer';
import React from 'react';
export interface ThemedCanvasProps extends CanvasProps {
/** 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;
}
/**
* Read the [full documentation for ThemedCanvas](https://justinmahar.github.io/react-pdf-builder/?path=/docs/documentation-components-basics-themedcanvas--docs)
*/
export declare const ThemedCanvas: ({ className, style, ...props }: ThemedCanvasProps) => React.JSX.Element;