GETTING STARTED
install with npm
npm install react-tutorial-overlay
install with yarn
yarn add react-tutorial-overlay
Basic usage
import { TutorialOverlay, tutorial } from 'react-tutorial-overlay';const App = () => {const handleClick = () => {tutorial.open([{targetIds: ['target-id'],title: 'title',content: '<div>content</div>',},]);};return (<div><button id="target-id" onClick={handleClick}>open</button><TutorialOverlay /></div>);};