@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
21 lines • 808 B
TypeScript
import React from 'react';
import { ChartDataTypes, InternalChartSeries, MixedLineBarChartProps } from './interfaces';
interface InternalChartLegendProps<T extends ChartDataTypes> {
series: ReadonlyArray<InternalChartSeries<T>>;
visibleSeries: ReadonlyArray<MixedLineBarChartProps.ChartSeries<T>>;
plotContainerRef: React.RefObject<HTMLDivElement>;
highlightedSeries?: MixedLineBarChartProps.ChartSeries<T> | null;
onHighlightChange: (series: MixedLineBarChartProps.ChartSeries<T> | null) => void;
legendTitle?: string;
ariaLabel?: string;
}
export default function InternalChartLegend<T extends number | string | Date>({
series,
visibleSeries,
highlightedSeries,
onHighlightChange,
legendTitle,
ariaLabel,
plotContainerRef
}: InternalChartLegendProps<T>): JSX.Element;
export {};