{"repo":"caglardurmus/react-native-insta-story","free":true,"listed":false,"github":"https://github.com/caglardurmus/react-native-insta-story","clone":"git clone https://github.com/caglardurmus/react-native-insta-story.git","description":"Story component for React Native","language":"TypeScript","stars":187,"topics":["react-native","ios","android","story","instagram"],"license":"MIT","category":"mobile-apps","readme_excerpt":"react-native-insta-story Install 1. Step or 2. Step 3. Step (optional – for video stories) To show video in stories, install react-native-video in your app and link it (e.g. run pod install again). Story items with story video set will then be rendered as video; others continue to use story image . Peer dependencies Package Required Description ------------------ -------- ------------------------------------------------------------------------------------------------ react-native-video No Video stories: Install only if you use story video . Without it, video items will not play. Then run pod install in the ios folder. Import TypeScript types and interfaces ( IUserStory , IUserStoryItem , etc.) are exported from the package. Props Name Description Type Default Value :------------------------- :------------------------------------------------------------------------------- :------------ :-----------: data Array of user stories ( IUserStory[] ). See exported TypeScript interfaces. IUserStory[] unPressedBorderColor Unpressed border color of profile circle ColorValue red pressedBorderColor Pressed border color of profile circle ColorValue grey unPressedAvatarTextColor Unpressed avatar text color ColorValue red pressedAvatarTextColor Pressed avatar text color ColorValue grey onStorySeen Called when a story is viewed (receives IUserSingleStory ). function null onClose Called when modal is closed (receives the current user IUserStory ). function null onStart Called when a story is op","default_branch":null,"files":null,"tree":[],"storefront":"/r/caglardurmus","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/caglardurmus/react-native-insta-story/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}