@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
22 lines (21 loc) • 953 B
TypeScript
import React from 'react';
import { HotspotProps } from '../../hotspot/';
import { AnnotationContextProps } from '../index';
export interface AnnotationPopoverProps {
title: string;
content: React.ReactNode;
alert: React.ReactNode;
direction: HotspotProps['direction'];
nextButtonEnabled: boolean;
onNextButtonClick: () => void;
onFinish: () => void;
previousButtonEnabled: boolean;
onPreviousButtonClick: () => void;
taskLocalStepIndex: number;
totalLocalSteps: number;
showFinishButton: boolean;
onDismiss: () => void;
track: HTMLElement;
i18nStrings: AnnotationContextProps['i18nStrings'];
}
export declare function AnnotationPopover({ title, content, alert, direction, taskLocalStepIndex, totalLocalSteps, showFinishButton, onDismiss, nextButtonEnabled, onNextButtonClick, onFinish, track, previousButtonEnabled, onPreviousButtonClick, i18nStrings }: AnnotationPopoverProps): JSX.Element;