Releases: mohitk05/react-insta-stories
Dev tooling and code refactor
APIs added
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.
'See more' option, individual styles for stories
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.
Added video support, changed animations to pure CSS.
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
.