UNPKG

recharts

Version:
29 lines (28 loc) 1.08 kB
import * as React from 'react'; import { ReactElement } from 'react'; import { Props as DotProps } from '../shape/Dot'; import { ImplicitLabelType } from '../component/Label'; import { IfOverflow } from '../util/IfOverflow'; import { ZIndexable } from '../zIndex/ZIndexLayer'; interface ReferenceDotProps extends ZIndexable { r?: number; ifOverflow?: IfOverflow; /** * The x-coordinate of the center of the dot. * It should match a value from the XAxis, so if the XAxis is a number axis, this should be a number. * If the XAxis is a category axis, this should be a string. */ x?: number | string; y?: number | string; className?: number | string; yAxisId?: number | string; xAxisId?: number | string; shape?: ReactElement<SVGElement> | ((props: any) => ReactElement<SVGElement>); label?: ImplicitLabelType; } export type Props = DotProps & ReferenceDotProps; export declare function ReferenceDot(outsideProps: Props): React.JSX.Element; export declare namespace ReferenceDot { var displayName: string; } export {};