@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
15 lines (14 loc) • 718 B
TypeScript
import { AnnotationContextProps } from './interfaces';
export { AnnotationContextProps };
export declare function getStepInfo(annotations: readonly AnnotationContextProps.Task[], index: number): {
task: import("..").TutorialPanelProps.Task;
step: import("..").TutorialPanelProps.Step;
localIndex: number;
taskIndex: number;
} | {
task: undefined;
step: undefined;
localIndex: number;
taskIndex: number;
};
export default function AnnotationContext({ currentTutorial, children, onStepChange, onFinish: onFinishHandler, onStartTutorial, onExitTutorial, announcementPopoverHeader, announcementPopoverBody, onDismissAnnouncementPopover, i18nStrings }: AnnotationContextProps): JSX.Element;