UNPKG

recharts

Version:
24 lines (23 loc) 922 B
import * as React from 'react'; import { ActiveDotType, DataKey } from '../util/types'; import { ZIndexable } from '../zIndex/ZIndexLayer'; export interface PointType { readonly x: number | null; readonly y: number | null; readonly value?: any; readonly payload?: any; } interface ActivePointsProps extends ZIndexable { points: ReadonlyArray<PointType>; /** * Different graphical elements have different opinion on what is their main color. * Sometimes stroke, sometimes fill, sometimes combination. * `undefined` means that the color is not set, and the point will be transparent. */ mainColor: string | undefined; itemDataKey: DataKey<any> | undefined; activeDot: ActiveDotType; clipPath?: string; } export declare function ActivePoints({ points, mainColor, activeDot, itemDataKey, clipPath, zIndex, }: ActivePointsProps): React.JSX.Element | null; export {};