Skip to content

Commit

Permalink
[+] #89 InteractionProps에 필드 추가(프론트엔드 요청)
Browse files Browse the repository at this point in the history
  • Loading branch information
woody35545 committed Oct 15, 2023
1 parent 2ba656a commit 53bd05a
Showing 1 changed file with 5 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,16 +14,19 @@ public class InteractionProps {
String content;
String backgroundColor;
String border;
String fontSize;

public void setInteracted(boolean isInteracted){
if(isInteracted){
this.content = "\uD83D\uDC4F";
this.backgroundColor = null;
this.backgroundColor = "transparent";
this.border = "2px solid #651fff";
this.fontSize = null;
}else{
this.content = "박수";
this.backgroundColor = "#EAED70";
this.border = null;
this.border = "none";
this.fontSize = "14px";
}
}

Expand Down

0 comments on commit 53bd05a

Please sign in to comment.