Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Chip 컴포넌트 구현 #23

Merged
merged 3 commits into from
Oct 31, 2023
Merged

Chip 컴포넌트 구현 #23

merged 3 commits into from
Oct 31, 2023

Conversation

eeseung
Copy link
Member

@eeseung eeseung commented Oct 30, 2023

📑 이슈 번호

🚧 구현 내용

  • Pretendard 폰트 적용
  • Chip 컴포넌트 구현
LinkHub-FE_chip-component

🚨 특이 사항

Chip Props

interface ChipProps {
  label: string // 라벨 텍스트
  color?: ChipColors // 색상 (default: 'emerald')
}

Chip Colors 타입 정의

type ChipColors = // Tailwind 색상 이름과 동일합니다.
  | 'emerald'
  | 'red'
  | 'yellow'
  | 'blue'
  | 'indigo'
  | 'purple'
  | 'pink'
  | 'gray'

사용 예시

<Chip label="Tag" />
<Chip
  label="Tag"
  color="red"
/>

@eeseung eeseung added the ✨ Feature 기능 개발 label Oct 30, 2023
@eeseung eeseung added this to the 1차 스프린트 milestone Oct 30, 2023
@eeseung eeseung self-assigned this Oct 30, 2023
@eeseung eeseung linked an issue Oct 30, 2023 that may be closed by this pull request
1 task
Copy link
Contributor

@bomi8489 bomi8489 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍🏻👍🏻

Copy link
Contributor

@dudwns dudwns left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

오오.. 폰트까지 적용해 주셨다니 고생하셨습니다. 칩 이쁘네요! 😄

@eeseung eeseung merged commit e28d8fb into develop Oct 31, 2023
1 check passed
@eeseung eeseung deleted the feature/#4/component-chip branch October 31, 2023 05:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
✨ Feature 기능 개발
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Chip 컴포넌트 구현
3 participants