react-pdf-builder
Version:
Build beautiful PDF documents in React.
11 lines (10 loc) • 632 B
TypeScript
import { ImageProps } from '@react-pdf/renderer';
import React from 'react';
export interface ThemedImageProps {
/** 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 ThemedImage](https://justinmahar.github.io/react-pdf-builder/?path=/docs/documentation-components-basics-themedimage--docs)
*/
export declare const ThemedImage: ({ className, style, ...props }: ImageProps & ThemedImageProps) => React.JSX.Element;