react-native-intro
v0.0.2
Published
A way for new feature introduction and step-by-step users guide for your react-native app
Downloads
12
Maintainers
Readme
react-native-intro
A way for new feature introduction and step-by-step users guide for your react-native app
Install
Run npm install react-native-intro --save
in your Project dir
Usage
react-native-intro exports two APIs, default is
Intro
component, and the other one isintro
function. see demo get more informations.Use
Intro
component wrap your components and pass some props to Intro. Maybe you need set the style props too;
import Intro, { intro } from 'react-native-intro';
<Intro
content={"hello world"}
step={1}>
</Intro>
.....
componentDidMount() {
// and start
var myIntro = intro({group: 'yourGroup'});
myIntro.start();
}
#Props ###content: string | ReactElement
###step: the step sort