API Reference
SpotlightTour
#
See the lazy loading docs for alternative usages of
Spotlight
.
#
Propsopen: boolean
onClose: () => void
Spotlight: typeof Spotlight
useSpotlight
#
#
Argumentstext: string
: Help text to render next to the component. To add new lines and accomidate different screensizes React Spotlight Tour accepts newline (\n
) characters in the help text.placement?: 'bottom' | 'left' | 'right' | 'top'
: Where to render the help text. Defualts to'bottom'
.
#
ReturnsReact.RefCallback<HTMLElement | null>