react-introjs
A small React wrapper for Intro.js. Currently it only supports steps.
Installation
npm install --save react-introjs
Don't forget install react and introjs as they are peer dependencies.
Usage
Using InrojsProvider to wrap your application. code example:
;;;;;; ;
then using connectIntrojsStep to wrap the steps and connectIntrojsControl to get controls of Introjs method. code example:
;;;; const IntrojsStartButton = ; const App = { const IntrojsConnectedAtag = ; const IntrojsConnectedInput = ; return <div className=stylescontainer > <IntrojsStartButton /> <IntrojsConnectedAtag >test1</IntrojsConnectedAtag> <IntrojsConnectedInput placeholder="Search on title..." onChange= console className=stylessearchInput /> </div> ;};;