-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor(member): 활동 2차 QA 피드백 반영 (#233)
- Loading branch information
Showing
39 changed files
with
786 additions
and
325 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
--- | ||
"@clab-platforms/auth": patch | ||
"@clab-platforms/member": patch | ||
"@clab-platforms/design-system": patch | ||
--- | ||
|
||
refactor(member): 활동 2차 QA 피드백 반영 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
22 changes: 22 additions & 0 deletions
22
apps/member/src/components/common/TextCounting/TextCounting.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
import { cn } from '@clab-platforms/utils'; | ||
|
||
interface MaxLengthCounterProps { | ||
maxLength: number; | ||
text?: string; | ||
children?: string; | ||
} | ||
|
||
const TextCounting = ({ maxLength, text, children }: MaxLengthCounterProps) => { | ||
return ( | ||
<p | ||
className={cn('mt-2 text-right text-xs', children, { | ||
'text-red-500': text && text.length > maxLength, | ||
})} | ||
> | ||
<span>{text ? text.length : '0'}</span> | ||
<span>{'/' + maxLength + '자'}</span> | ||
</p> | ||
); | ||
}; | ||
|
||
export default TextCounting; |
5 changes: 2 additions & 3 deletions
5
apps/member/src/components/group/ActivityConfigTableSection/ActivityConfigTableSection.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.