import type { ReactNode } from 'react'; import { FoxBadgeDot } from '@fox/core/components/fox-badge-dot'; import { FoxIconButton } from '@fox/core/components/fox-icon-button'; import styles from './header-icon-button.module.scss'; interface HeaderIconButtonProps { icon: ReactNode; /** 글자가 없으므로 이 값이 접근성 이름이 된다. */ label: string; /** 참이면 우상단에 알림 점(FoxBadgeDot)을 얹는다. */ hasBadge?: boolean; onAction?: () => void; } /** * 헤더 우측 아이콘 버튼(시안 header의 `item`). FoxIconButton을 그대로 쓰고 모양 차이 두 개 * (radius·아이콘 크기)만 CSS 모듈로 덮는다 — 근거는 module.scss 상단 참고. * * 배지는 `