Update snippets/StarRating.md
Co-Authored-By: Chalarangelo <chalarangelo@gmail.com>
This commit is contained in:
@ -50,7 +50,7 @@ const StarRating = (function() {
|
|||||||
{Array.from({ length: 5 }, (v, i) => (
|
{Array.from({ length: 5 }, (v, i) => (
|
||||||
<Star
|
<Star
|
||||||
starId={i+1}
|
starId={i+1}
|
||||||
key={`star_${v} `}
|
key={`star_${i+1} `}
|
||||||
marked={
|
marked={
|
||||||
this.state.selection
|
this.state.selection
|
||||||
? this.state.selection >= v
|
? this.state.selection >= v
|
||||||
|
|||||||
Reference in New Issue
Block a user