UNPKG

recharts

Version:
14 lines (13 loc) 489 B
import * as React from 'react'; import { SVGProps } from 'react'; import { GeometrySectorWithCornerRadius } from '../util/types'; interface SectorProps extends GeometrySectorWithCornerRadius { className?: string; } /** * SVG cx, cy are `string | number | undefined`, but internally we use `number` so let's * override the types here. */ export type Props = Omit<SVGProps<SVGPathElement>, 'cx' | 'cy'> & Partial<SectorProps>; export declare const Sector: React.FC<Props>; export {};