0.0.3 • Published 8 years ago
react-native-neo-intro v0.0.3
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
Introcomponent, and the other one isintrofunction. see demo get more informations.Use
Introcomponent 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

0.0.3
8 years ago