"use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=require("react/jsx-runtime"),l=require("../../utils/cn/cn.cjs.js"),n=require("../../src/components/IconButton/iconButton.module.css"),m=require("../Icon/Icon.cjs.js"),d=({iconName:e,variant:t="emphasis",size:c="md",as:o="button",disabled:r=!1,...i})=>{const a=n[t]||"",u=n[c]||"";return s.jsx(o,{...i,className:l.cn(n.button,a,u),disabled:r,children:s.jsx("div",{className:n.iconWrap,children:s.jsx(m.Icon,{name:e})})})};exports.IconButton=d;
