tutorial()
When tutorial() called from anywhere, <TutorialOverlay/>
will detect the state and bring up the tutorial
options
import { TutorialOverlay, tutorial } from 'react-tutorial-overlay';function App() {useEffect(() => {tutorial.open([{targetIds: ['target-id'],title: 'title',content: '<div>content</div>',},]);}, []);return (<div><TutorialOverlay /></div>);}