"use client"; import type { ReactNode, Ref } from "react"; import { cx } from "../../utils"; export type FoxIconButtonType = "default" | "ghost" | "overlay"; export type FoxIconButtonSize = "lg" | "md" | "sm" | "xsm"; export interface FoxIconButtonProps { type?: FoxIconButtonType; size: FoxIconButtonSize; /** 네이티브 `type` — prop의 `type`이 시각 계열을 쓰므로 분리했다. */ htmlType?: "button" | "submit" | "reset"; /** 배치 조정용. 모양이 달라야 하면 여기 말고 `type`을 추가한다. */ className?: string; /** 아이콘 폰트를 넘긴다 — `