Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Jay Mehta
/
zango-frontend
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Registry
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
Commit dbf1e7cc
authored
2024-06-03 15:51:12 +0530
by
Ravindra Kanojiya
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
updated
1 parent
bbdefafc
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
6 deletions
components/detail/GuestReviews.js
components/home/Testimonial.js
components/detail/GuestReviews.js
View file @
dbf1e7c
...
...
@@ -99,8 +99,8 @@ const GuestReviews = ({ activityById }) => {
<
StarRatings
className
=
"col-3 mx-2"
rating
=
{
data
.
attributes
.
rating
}
starRatedColor
=
"
yellow
"
// Set the rated color to yellow
starHoverColor
=
"
yellow
"
// Set the hover color to yellow
starRatedColor
=
"
#ffe20
"
// Set the rated color to yellow
starHoverColor
=
"
#ffe20
"
// Set the hover color to yellow
changeRating
=
{()
=>
{}}
numberOfStars
=
{
5
}
name
=
"rating"
...
...
@@ -141,8 +141,8 @@ const GuestReviews = ({ activityById }) => {
<StarRatings
className="
col
-
3
mx
-
2
"
rating={rating}
starRatedColor="
yellow
" // Set the rated color to yellow
starHoverColor="
yellow
" // Set the hover color to yellow
starRatedColor="
#
ffe20
" // Set the rated color to yellow
starHoverColor="
#
ffe20
" // Set the hover color to yellow
changeRating={handleRatingChange}
numberOfStars={5}
name="
rating
"
...
...
components/home/Testimonial.js
View file @
dbf1e7c
...
...
@@ -52,8 +52,8 @@ const Testimonial = ({ testimonial }) => {
<
div
className
=
"rating"
>
<
StarRatings
rating
=
{
rating
}
starRatedColor
=
"
yellow
"
// Set the rated color to yellow
starHoverColor
=
"
yellow
"
// Set the hover color to yellow
starRatedColor
=
"
#ffe200
"
// Set the rated color to yellow
starHoverColor
=
"
#ffe200
"
// Set the hover color to yellow
changeRating
=
{
handleRatingChange
}
numberOfStars
=
{
5
}
name
=
'rating'
...
...
Write
Preview
Styling with
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment