File tree Expand file tree Collapse file tree 1 file changed +2
-5
lines changed
src/components/common/chip Expand file tree Collapse file tree 1 file changed +2
-5
lines changed Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ type ChipProps = {
66}
77
88const baseStyle =
9- 'flex h-28 items-center justify-center rounded-4 px-6 text-body3 font-medium'
9+ 'flex h-28 items-center justify-center rounded-4 bg-gray-200 px-6 text-body3 font-medium text-gray-500 '
1010
1111const styleByLabel : Record < string , string > = {
1212 '모집 중' : 'bg-blue-100 text-blue-500' ,
@@ -19,10 +19,7 @@ const styleByLabel: Record<string, string> = {
1919 기타 : 'bg-orange-100 text-orange-500' ,
2020}
2121
22- export const Chip = ( {
23- label,
24- className = 'bg-gray-200 text-gray-500' ,
25- } : ChipProps ) : JSX . Element => {
22+ export const Chip = ( { label, className = '' } : ChipProps ) : JSX . Element => {
2623 const labelStyle = styleByLabel [ label ] || ''
2724 const chipStyle = clsx ( baseStyle , labelStyle , className )
2825 return < span className = { chipStyle } > { label } </ span >
You can’t perform that action at this time.
0 commit comments