Socket
Socket
Sign inDemoInstall

react-insta-stories

Package Overview
Dependencies
Maintainers
1
Versions
43
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-insta-stories - npm Package Compare versions

Comparing version 2.5.9 to 2.6.0

4

dist/interfaces.d.ts

@@ -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;

2

package.json
{
"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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc