A React component for Instagram like stories
MIT License
Bot releases are visible (Hide)
Published by mohitk05 over 4 years ago
Nothing changed on the user end but set up a development tooling with live reloading example.
Published by mohitk05 over 5 years ago
APIs to trigger changes like play
, pause
, previous
, next
etc. can be accessed using the ref
of the default export of this package. Full list is included under the APIs title in readme.
Moving ahead, this project will try to implement the stories format for various other platforms, starting with React Native. Will include repo links in Readme soon.
Published by mohitk05 over 5 years ago
A see more button can be added at the bottom of every story which opens up a component of choice as provided in the props.
Each story can now have individual styles using a styles
property in the story object. This overrides the default style object as mentioned in the readme.
Future releases (1.5+) will include features like overlay component etc.
Published by mohitk05 over 5 years ago
This release adds a new feature where you can add video stories. The story duration adapts to the video duration. Also, the progress animation has been written in pure CSS with hardware accelerated scale3d()
. This would ensure smooth animations on devices.
The babel-polyfill
error has been fixed as the timing logic now completely rests in CSS and there is no need for async await
.