| 1 |
export const EmptyStar = props => ( |
| 2 |
<svg |
| 3 |
xmlns="http://www.w3.org/2000/svg" |
| 4 |
style={{ fill: props.fillColor }} |
| 5 |
fill={props.fillColor} |
| 6 |
width={props.size} |
| 7 |
height={props.size} |
| 8 |
viewBox="0 0 510 510" |
| 9 |
> |
| 10 |
<path d="M510,197.472l-183.37-15.734L255,12.75l-71.629,168.988L0,197.472l139.103,120.539L97.41,497.25L255,402.186 l157.59,95.064l-41.692-179.239L510,197.472z M255,354.348l-95.957,57.886l25.398-109.166l-84.736-73.389l111.69-9.588 L255,117.172l43.605,102.918l111.689,9.588l-84.711,73.389l25.398,109.166L255,354.348z" /> |
| 11 |
</svg> |
| 12 |
); |
| 13 |
|
| 14 |
export const HalfStar = props => ( |
| 15 |
<svg |
| 16 |
xmlns="http://www.w3.org/2000/svg" |
| 17 |
style={{ fill: props.fillColor }} |
| 18 |
fill={props.fillColor} |
| 19 |
width={props.size} |
| 20 |
height={props.size} |
| 21 |
viewBox="0 0 510 510" |
| 22 |
> |
| 23 |
<path d="M510,197.472l-183.37-15.734L255,12.75l-71.629,168.988L0,197.472l0,0l0,0l139.103,120.539L97.41,497.25L255,402.186l0,0 l157.59,95.039l-41.692-179.239L510,197.472z M255,354.348V117.172l43.605,102.918l111.689,9.588l-84.711,73.389l25.398,109.166 L255,354.348z" /> |
| 24 |
</svg> |
| 25 |
); |
| 26 |
|
| 27 |
|
| 28 |
export const FullStar = props => ( |
| 29 |
<svg |
| 30 |
xmlns="http://www.w3.org/2000/svg" |
| 31 |
style={{ fill: props.fillColor }} |
| 32 |
fill={props.fillColor} |
| 33 |
width={props.size} |
| 34 |
height={props.size} |
| 35 |
viewBox="0 0 510 510" |
| 36 |
> |
| 37 |
<polygon |
| 38 |
points="255,402.212 412.59,497.25 370.897,318.011 510,197.472 326.63,181.738 255,12.75 183.371,181.738 0,197.472 139.103,318.011 97.41,497.25" |
| 39 |
id="star" |
| 40 |
/> |
| 41 |
</svg> |
| 42 |
); |