Skip to content

Conversation

@jaeml06
Copy link
Contributor

@jaeml06 jaeml06 commented Jan 10, 2026

🚩 연관 이슈

closed #17

📝 작업 내용

공통 아이콘 컴포넌트 구현

  • arrow_down
  • arrow_prev
  • arrow_up
  • arrow_next
  • ic_circle_check_filled
  • ic_circle_check_outline
  • ic_circle_x_filled
  • ic_circle_x_outline
  • ic_hamburger
  • ic_info_filled
  • ic_info_outline
  • ic_magic
  • ic_menu_close
  • ic_other_share
  • ic_people
  • ic_refresh
image

Icon 컴포넌트 구현

  • assets/icons의 icons 맵과 IconName 타입을 기반으로 아이콘을 이름으로 렌더링할 수 있는 Icon 컴포넌트 추가
  • ICON_SIZES 토큰(sm | md | lg | xl) 기반 사이즈 지원
  • size는 토큰(IconSize) 또는 숫자(number) 모두 지원
  • 문자열 숫자("24")가 들어와도 안전하게 숫자로 파싱하도록 fallback 처리
  • color props로 아이콘 색상 제어 가능 (style.color 사용)
  • role="img"
  • 존재하지 않는 아이콘 이름 요청 시 console.warn 후 null 반환 (런타임 방어)

@jaeml06 jaeml06 added the feat 기능 개발 label Jan 10, 2026
@jaeml06 jaeml06 requested a review from yejinleee January 10, 2026 13:41
@jaeml06 jaeml06 self-assigned this Jan 10, 2026
@jaeml06 jaeml06 merged commit 9467f9c into develop Jan 11, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

feat 기능 개발

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[FEAT] 공통 아이콘 컴포넌트 구현

3 participants