1.0.3 • Published 4 years ago

react-ui-guide v1.0.3

Weekly downloads
-
License
MIT
Repository
github
Last release
4 years ago

react ui guide

react-ui-guide

component for create user interface guide

NPM version NPM downloads NPM downloads MIT License Build Status

npm i react-ui-guide
import React from 'react'
import JHelp from 'react-ui-guide'

// your component details ...
render() {
  <div>
    <div id="test">test</div>
    <JHelp helpList={[{selector:'#test',content:'my help'}]}><span>click me</span></JHelp>
  </div>
}

props

propstypedefault
helpListarray of object[]
styleobject{}
classNamestring''
stepnumber0
skipTextstring'skip'
nextTextstring'next'
prevTextstring'prev'
closeTextstring'close'
onClosefuncundefined
onSkipfuncundefined
onPrevfuncundefined
onNextfuncundefined

    helpList=[{selector:'#test',content:'my help'}]|
    or
    helpList=[{selector:'#root > div:nth-child(3) > div',content:'my help'}]|
    

Javad Shariati jsh1400@yahoo.com

1.0.3

4 years ago

1.0.2

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago