cf-component-checkbox
Advanced tools
Comparing version 3.0.0 to 3.0.1
@@ -35,3 +35,4 @@ 'use strict'; | ||
{ htmlFor: this.props.name, className: className }, | ||
React.createElement('input', { type: 'checkbox', | ||
React.createElement('input', { | ||
type: 'checkbox', | ||
className: 'cf-checkbox__input', | ||
@@ -42,3 +43,4 @@ id: this.props.name, | ||
checked: this.props.checked, | ||
onChange: this.props.onChange }), | ||
onChange: this.props.onChange | ||
}), | ||
this.props.label && React.createElement( | ||
@@ -45,0 +47,0 @@ 'span', |
@@ -63,3 +63,4 @@ 'use strict'; | ||
return _this3.handleChange(option.value, e.target.checked); | ||
} }); | ||
} | ||
}); | ||
}) | ||
@@ -66,0 +67,0 @@ ); |
{ | ||
"name": "cf-component-checkbox", | ||
"description": "CloudFlare Checkbox Component", | ||
"version": "3.0.0", | ||
"version": "3.0.1", | ||
"main": "lib/index.js", | ||
@@ -6,0 +6,0 @@ "author": "James Kyle <jkyle@cloudflare.com>", |
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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
9091
119