Skip to content

Commit

Permalink
Merge pull request #15 from BCSDLab/feat/clear-package
Browse files Browse the repository at this point in the history
미사용 패키지 제거, 빌드 명령어 최신화, 버전 추가
  • Loading branch information
ChoiWonBeen authored Apr 7, 2024
2 parents e7a76d2 + a625795 commit 62f987a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/cn/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ interface Classname {
[key: string]: boolean;
}

/** 여러 개의 className을 합치는 함수 */
export function cn(classes: Classname) {
return Object.entries(classes)
.filter(([, value]) => value)
Expand Down

0 comments on commit 62f987a

Please sign in to comment.