1 | import React, { SVGProps } from 'react';
|
2 | import { SymbolType as D3SymbolType } from 'victory-vendor/d3-shape';
|
3 | import { SymbolType } from '../util/types';
|
4 | type SizeType = 'area' | 'diameter';
|
5 | export interface InnerSymbolsProp {
|
6 | className?: string;
|
7 | type: SymbolType;
|
8 | cx?: number;
|
9 | cy?: number;
|
10 | size?: number;
|
11 | sizeType?: SizeType;
|
12 | }
|
13 | export type SymbolsProps = SVGProps<SVGPathElement> & InnerSymbolsProp;
|
14 | export declare const Symbols: {
|
15 | ({ type, size, sizeType, ...rest }: SymbolsProps): React.JSX.Element;
|
16 | registerSymbol: (key: string, factory: D3SymbolType) => void;
|
17 | };
|
18 | export {};
|