react-stars
Advanced tools
Comparing version 2.2.2 to 2.2.3
@@ -229,9 +229,10 @@ 'use strict'; | ||
stars = _state5.stars, | ||
uniqueness = _state5.uniqueness; | ||
var _state$config = this.state.config, | ||
color1 = _state$config.color1, | ||
color2 = _state$config.color2, | ||
size = _state$config.size, | ||
char = _state$config.char, | ||
half = _state$config.half; | ||
uniqueness = _state5.uniqueness, | ||
config = _state5.config; | ||
var color1 = config.color1, | ||
color2 = config.color2, | ||
size = config.size, | ||
char = config.char, | ||
half = config.half, | ||
edit = config.edit; | ||
@@ -245,2 +246,3 @@ return stars.map(function (star, i) { | ||
color: star.active ? color2 : color1, | ||
cursor: edit ? 'pointer' : 'default', | ||
fontSize: size + 'px' | ||
@@ -247,0 +249,0 @@ }); |
{ | ||
"name": "react-stars", | ||
"version": "2.2.2", | ||
"version": "2.2.3", | ||
"description": "Simple star rating component for your React projects", | ||
@@ -5,0 +5,0 @@ "main": "dist/react-stars.js", |
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
212399
1671