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