Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
students
survey
Commits
b1611f36
Commit
b1611f36
authored
Mar 03, 2023
by
Jiwon Yoon
Browse files
AQuestion -Arating 선택한 버튼 색깔 바꿈
parent
aa1aeb15
Changes
1
Hide whitespace changes
Inline
Side-by-side
frontend/src/forms/ARating.tsx
View file @
b1611f36
...
@@ -32,7 +32,7 @@ export const ARating = ({ element, answer: answerQuestion }: IAnswerProps) => {
...
@@ -32,7 +32,7 @@ export const ARating = ({ element, answer: answerQuestion }: IAnswerProps) => {
onClick
=
{
buttonClick
}
onClick
=
{
buttonClick
}
style
=
{
{
style
=
{
{
backgroundColor
:
backgroundColor
:
selectedchoice
===
choice
.
text
?
"
#
58ACF
A
"
:
"
white
"
,
selectedchoice
===
choice
.
text
?
"
#
0A8A8
A
"
:
"
white
"
,
}
}
}
}
>
>
{
choice
.
text
}
{
choice
.
text
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
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 comment