New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details
Socket
Book a DemoSign in
Socket

react-switchable

Package Overview
Dependencies
Maintainers
1
Versions
38
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-switchable - npm Package Compare versions

Comparing version
0.4.0
to
0.4.1
+1
-1
package.json
{
"name": "react-switchable",
"version": "0.4.0",
"version": "0.4.1",
"description": "A customizable react switch component",

@@ -5,0 +5,0 @@ "main": "dist/index.js",

@@ -93,2 +93,3 @@ # [react](https://reactjs.org)-switchable

<Switch
name="countries"
onItemSelected={(selectedIndex) => {

@@ -125,2 +126,3 @@ this.setState({

<Switch
name="countries"
onItemChanged={country =>this.setState({ selectedCountry: country })}>

@@ -166,3 +168,2 @@ <Item value="Russia">Russia</Item>

`arrowSelection` | boolean | No | true | Enables the selection of Items with arrow keys.
`tabIndex` | number | No | 0 | Sets the [tabIndex](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/tabIndex).

@@ -178,3 +179,2 @@ Inherits all other properties assigned from the parent component

`disable` | boolean | No | false | Disables the Item.
`tabIndex` | number | No | 0 | Sets the [tabindex](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/tabIndex).

@@ -181,0 +181,0 @@ Inherits all other properties assigned from the parent component.