UNPKG

@awsui/components-react

Version:

On July 19th, 2022, we launched [Cloudscape Design System](https://cloudscape.design). Cloudscape is an evolution of AWS-UI. It consists of user interface guidelines, front-end components, design resources, and development tools for building intuitive, en

20 lines 751 B
import React from 'react'; import { ChartSeriesMarkerType } from '../chart-series-marker'; interface ChartLegendItem<T> { label: string; color: string; type: ChartSeriesMarkerType; datum: T; } export interface ChartLegendProps<T> { series: ReadonlyArray<ChartLegendItem<T>>; highlightedSeries: T | null; legendTitle?: string; ariaLabel?: string; plotContainerRef?: React.RefObject<HTMLDivElement>; onHighlightChange: (series: T | null) => void; } declare const _default: typeof ChartLegend; export default _default; declare function ChartLegend<T>({ series, onHighlightChange, highlightedSeries, legendTitle, ariaLabel, plotContainerRef, }: ChartLegendProps<T>): JSX.Element; //# sourceMappingURL=index.d.ts.map