UNPKG

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