react-pdf-builder
Version:
Build beautiful PDF documents in React.
11 lines (10 loc) • 490 B
TypeScript
import React from 'react';
import { RectangleShapeProps } from './RectangleShape';
export interface SquareShapeProps extends RectangleShapeProps {
/** Optional. Width and height of square in points. */
size?: number;
}
/**
* Read the [full documentation for SquareShape](https://justinmahar.github.io/react-pdf-builder/?path=/docs/documentation-components-shapes-squareshape--docs)
*/
export declare const SquareShape: ({ size, ...props }: SquareShapeProps) => React.JSX.Element;