UNPKG

364 BTypeScriptView Raw
1import React, { SVGProps } from 'react';
2import { Coordinate } from '../util/types';
3interface PolygonProps {
4 className?: string;
5 points?: Coordinate[];
6 baseLinePoints?: Coordinate[];
7 connectNulls?: boolean;
8}
9export type Props = Omit<SVGProps<SVGPolygonElement>, 'points'> & PolygonProps;
10export declare const Polygon: React.FC<Props>;
11export {};