react-insta-stories
Advanced tools
Comparing version 2.5.9 to 2.6.0
@@ -25,2 +25,4 @@ import * as React from "react"; | ||
onStoryEnd?: Function; | ||
onNext?: Function; | ||
onPrevious?: Function; | ||
keyboardNavigation?: boolean; | ||
@@ -51,2 +53,4 @@ preventDefault?: boolean; | ||
onStoryEnd?: Function; | ||
onPrevious?: Function; | ||
onNext?: Function; | ||
keyboardNavigation?: boolean; | ||
@@ -53,0 +57,0 @@ preventDefault?: boolean; |
{ | ||
"name": "react-insta-stories", | ||
"version": "2.5.9", | ||
"version": "2.6.0", | ||
"description": "A React component for Instagram like stories", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
@@ -69,2 +69,4 @@ ![Main image](https://i.imgur.com/OAL12S5.jpg) | ||
| `onAllStoriesEnd` | Function | - | Callback when all stories in the array have ended | | ||
| `onNext` | Function | - | Callback when the user taps/press to proceed to the next story | | ||
| `onPrevious` | Function | - | Callback when the user taps/press to go back to the previous story | | ||
| `keyboardNavigation` | Boolean | false | Attaches arrow key listeners to navigate between stories if true. Also adds up arrow key listener for opening See More and Escape/down arrow for closing it | | ||
@@ -71,0 +73,0 @@ | `preventDefault` | Boolean | false | Disable the default behavior when user click the component | |
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
98678
2120
407