React native 版 Instagram 故事
A react native component instagram stories
npm i react-native-story --save or yarn add react-native-storyimport Story from 'react-native-story'Add react-native-story to your js file.
import Story from 'react-native-story'
Inside your component's render method, use Story:
…| Props | Type | Optional | Default | Description |
|---|---|---|---|---|
| id | string | required | - | Json story data must have this |
| stories | object | required | - | As above example |
| unPressedBorderColor | string | true | "#e95950" | Unpressed Border color |
| pressedBorderColor | string | true | "#ebebeb" | Pressed border color |
| footerComponent | jsx | true | - | Bottom of the stories footer component |
Thanx for the help
MIT Licensed UE
暂无开放 Issues,或尚未同步最近议题。