Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/dansnow/react-intro

Step-by-step guide component for react
https://github.com/dansnow/react-intro

Last synced: 11 days ago
JSON representation

Step-by-step guide component for react

Awesome Lists containing this project

README

        

React Intro
===========

This is a React component for step-by-step guide and feature introduction.
Inspire by [intro.js](http://introjs.com/).
Currently, it is a very simple version.

## Usage ##

See [example](examples/simple/components/App.js) for usage example.

## API ##

### ###

| Prop | Type | Description |
| ---------- | ---------- | ----------------------------- |
| start | bool | Control start or not |
| onFinish | func | Emit on it is finish |
| children | node(opt.) | Children |

### ###

| Prop | Type | Description |
| ---------- | ------------ | ----------------------------------- |
| text | string | Intro. text |
| step | number | Step number |
| position | string(opt.) | Pos. of intro. Only bottom or right |
| children | node | Only allow a child |