Update snippets/StarRating.md

Co-Authored-By: Chalarangelo <chalarangelo@gmail.com>
This commit is contained in:
Robert Mennell
2018-10-19 09:41:58 +03:00
committed by GitHub
parent f5f4d03f90
commit f18afec7b7

View File

@ -49,7 +49,7 @@ const StarRating = (function() {
>
{Array.from({ length: 5 }, (v, i) => (
<Star
starId={v}
starId={i+1}
key={`star_${v} `}
marked={
this.state.selection