react-pdf-builder
Version:
Build beautiful PDF documents in React.
12 lines (11 loc) • 865 B
TypeScript
import { EllipseProps } from '@react-pdf/renderer';
import React from 'react';
import { ShapeProps } from './ShapeProps';
export interface EllipseShapeProps extends ShapeProps {
/** Optional. Props for the underlying SVG [Ellipse](https://react-pdf.org/svg#ellipse). Specify a stroke here, such as `{ stroke: 'darkblue', strokeWidth: 5 }`. */
ellipseProps?: Partial<EllipseProps>;
}
/**
* Read the [full documentation for EllipseShape](https://justinmahar.github.io/react-pdf-builder/?path=/docs/documentation-components-shapes-ellipseshape--docs)
*/
export declare const EllipseShape: ({ width, height, fill, ellipseProps, linearGradientProps, radialGradientProps, gradient, gradientType, linearGradientCoords: linearGradientCoordsProps, radialGradientCoords: radialGradientCoordsProps, className, ...svgProps }: EllipseShapeProps) => React.JSX.Element;