Skip to content

Commit

Permalink
feat: change isHiddenRate props in VisitorComment component #164
Browse files Browse the repository at this point in the history
y#164
  • Loading branch information
seohyunsim committed Oct 4, 2022
1 parent 5aaae02 commit d216666
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 13 deletions.
13 changes: 1 addition & 12 deletions src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -58,18 +58,7 @@ function App() {
totalVisitor={403}
totalVisitorColor="grey"
/>
<VisitorComment
id="['VisitorComment', 'akar-icons:comment-add']"
inputBackgroundColor="red"
inputFontColor="white"
inputPlacehoderColor="white"
buttonColor="white"
listBackgroundColor="red"
commentColor="white"
listNicknameColor="white"
listDateColor="white"
theme="vertical"
/>
<VisitorComment id="['VisitorComment', 'akar-icons:comment-add']" />

<CardWrap id="['CardWrap','bi:card-list']">
<Card width="20vw" height="20vw" hover="down" redirectURL="/1">
Expand Down
2 changes: 1 addition & 1 deletion src/lib/components/VisitorComment/VisitorComment.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ const VisitorComment = (props: VisitorCommentPropsType) => {
/>
{isOverflow && (
<ProgressBar
isHiddenRateText={false}
isHiddenRateText={true}
rateText={`${rate}%`}
height="3px"
colorFrom={progressbarColor}
Expand Down

0 comments on commit d216666

Please sign in to comment.