Skip to content

WhatsApp and Instagram like story component for react-native

Notifications You must be signed in to change notification settings

letsjynx/react-native-stories

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

react-native-stories

npm version npm NPM

Whatsapp, Instagram like story component for react-native

Demo

Demo

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

PropName PropType Purpose Required
images Array Images to show as story Yes
color String Color of progress bar No (#FED94D)
containerStyle Object Container style No
progressContainerStyle Object Progress bar container style No
imageStyle Object Image style No
duration Number Duration for progress bar No (6000ms)

|

Built With

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