@awsui/components-react
Version:
AWS UI is a collection of [React](https://reactjs.org/) components that help create intuitive, responsive, and accessible user experiences for web applications. It is developed by Amazon Web Services (AWS). This work is available under the terms of the [A
12 lines (11 loc) • 556 B
TypeScript
import React from 'react';
import { PopoverProps } from '../../../popover/interfaces';
import { SeriesInfo } from '../../../pie-chart/interfaces';
export interface ChartPopoverProps extends PopoverProps {
series?: SeriesInfo;
children?: React.ReactNode;
trigger: Element | null;
segmentsRef: SVGElement | null;
onDismiss: () => void;
}
export default function ChartPopover({ position, size, fixedWidth, dismissButton, dismissAriaLabel, children, series, trigger, onDismiss, segmentsRef, ...restProps }: ChartPopoverProps): JSX.Element;