Update snippets/StarRating.md

Co-Authored-By: Chalarangelo <chalarangelo@gmail.com>
This commit is contained in:
Robert Mennell
2018-10-19 09:42:09 +03:00
committed by GitHub
parent 014df42f62
commit addd182056

View File

@ -53,7 +53,7 @@ const StarRating = (function() {
key={`star_${i+1} `}
marked={
this.state.selection
? this.state.selection >= v
? this.state.selection >= i+1
: this.state.rating >= v
}
/>