API Reference
SpotlightTour#
See the lazy loading docs for alternative usages of
Spotlight.
Props#
open: booleanonClose: () => voidSpotlight: typeof Spotlight
useSpotlight#
Arguments#
text: 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'.
Returns#
React.RefCallback<HTMLElement | null>