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