reagir alerta quando a taxa mudar

<Rating
  onChange={(rate) => alert(rate)}
/>
Annoyed Angelfish