Commit dbf1e7cc by Ravindra Kanojiya

updated

1 parent bbdefafc
...@@ -99,8 +99,8 @@ const GuestReviews = ({ activityById }) => { ...@@ -99,8 +99,8 @@ const GuestReviews = ({ activityById }) => {
<StarRatings <StarRatings
className="col-3 mx-2" className="col-3 mx-2"
rating={data.attributes.rating} rating={data.attributes.rating}
starRatedColor="yellow" // Set the rated color to yellow starRatedColor="#ffe20" // Set the rated color to yellow
starHoverColor="yellow" // Set the hover color to yellow starHoverColor="#ffe20" // Set the hover color to yellow
changeRating={() => {}} changeRating={() => {}}
numberOfStars={5} numberOfStars={5}
name="rating" name="rating"
...@@ -141,8 +141,8 @@ const GuestReviews = ({ activityById }) => { ...@@ -141,8 +141,8 @@ const GuestReviews = ({ activityById }) => {
<StarRatings <StarRatings
className="col-3 mx-2" className="col-3 mx-2"
rating={rating} rating={rating}
starRatedColor="yellow" // Set the rated color to yellow starRatedColor="#ffe20" // Set the rated color to yellow
starHoverColor="yellow" // Set the hover color to yellow starHoverColor="#ffe20" // Set the hover color to yellow
changeRating={handleRatingChange} changeRating={handleRatingChange}
numberOfStars={5} numberOfStars={5}
name="rating" name="rating"
......
...@@ -52,8 +52,8 @@ const Testimonial = ({ testimonial }) => { ...@@ -52,8 +52,8 @@ const Testimonial = ({ testimonial }) => {
<div className="rating"> <div className="rating">
<StarRatings <StarRatings
rating={rating} rating={rating}
starRatedColor="yellow" // Set the rated color to yellow starRatedColor="#ffe200" // Set the rated color to yellow
starHoverColor="yellow" // Set the hover color to yellow starHoverColor="#ffe200" // Set the hover color to yellow
changeRating={handleRatingChange} changeRating={handleRatingChange}
numberOfStars={5} numberOfStars={5}
name='rating' name='rating'
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!