Socket
Book a DemoInstallSign in
Socket

react-native-stories

Package Overview
Dependencies
Maintainers
2
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-native-stories

Whatsapp, Instagram like story component for react-native

latest
Source
npmnpm
Version
0.0.3
Version published
Maintainers
2
Created
Source

react-native-stories

Whatsapp, Instagram like story component for react-native

Demo

alt text

Live in Action

Installing

npm install --save react-native-stories

Usage

import StoryImages from "react-native-stories";
render() {
  const images = [{ uri: 'myImageUrl' }]
  ...some code
  return(
    <StoryImages
      images={images || []}
      color={myColor}
    />
    ...your code continued
  ).
}

Props

PropNamePropTypePurposeRequired
imagesArrayImages to show as storyYes
colorStringColor of progress barNo (#FED94D)
containerStyleObjectContainer styleNo
progressContainerStyleObjectProgress bar container styleNo
imageStyleObjectImage styleNo
durationNumberDuration for progress barNo (6000ms)

Built With

  • React Native
  • React

Contributing

Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests to us.

Versioning

We use SemVer for versioning. For the versions available, see the tags on this repository.

Authors

Acknowledgments

  • WhatsApp and Instagram story components

Keywords

react-native

FAQs

Package last updated on 17 Dec 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts