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