@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
14 lines • 665 B
TypeScript
import React from 'react';
import { HotspotProps } from '../hotspot/interfaces';
import { AnnotationContextProps } from './interfaces';
export interface HotspotContext {
getContentForId(id: string, direction: HotspotProps['direction']): JSX.Element | null;
registerHotspot(id: string): void;
unregisterHotspot(id: string): void;
currentStepIndex: number;
currentTutorial: AnnotationContextProps.Tutorial | null;
onStartTutorial: AnnotationContextProps['onStartTutorial'];
onExitTutorial: AnnotationContextProps['onExitTutorial'];
}
export declare const hotspotContext: React.Context<HotspotContext>;
//# sourceMappingURL=context.d.ts.map