react-switch
Advanced tools
Comparing version 5.0.0-beta.0 to 5.0.0
{ | ||
"name": "react-switch", | ||
"version": "5.0.0-beta.0", | ||
"version": "5.0.0", | ||
"description": "Draggable toggle-switch component for react", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -80,6 +80,7 @@ A draggable toggle-switch component for React. | ||
| className | string | _undefined_ | Set as the className of the outer shell of the switch. Useful for positioning the switch. | | ||
| id | string | _undefined_ | Set as an attribute to the embedded checkbox. This is useful for the associated label, which can point to the id in its htmlFor attribute. | ||
| id | string | _undefined_ | Set as an attribute to the embedded checkbox. This is useful for the associated label, which can point to the id in its htmlFor attribute. | | ||
--- | ||
**All other props will get passed to the underline `input` element** | ||
**NOTE**: All additional props will be passed to the nested `input` element. | ||
@@ -86,0 +87,0 @@ The following props have to be either 3-digit or 6-digit hex-colors: |
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
1
127
49843