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