@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
16 lines (15 loc) • 565 B
JavaScript
import React from 'react';
var defaultContext = {
getContentForId: function () { return null; },
registerHotspot: function () { },
unregisterHotspot: function () { },
currentStepIndex: 0,
currentTutorial: null,
onStartTutorial: function () { },
onExitTutorial: function () { },
announcementPopoverHeader: undefined,
announcementPopoverBody: undefined,
labelDismissAnnouncementPopover: '',
onDismissAnnouncementPopover: function () { return undefined; }
};
export var hotspotContext = React.createContext(defaultContext);