import { a as a$1 } from './chunk-BZFPT54B.js';
import { a } from './chunk-TWGPE4V7.js';
import { cx } from '@onbeam/styled-system/css';
import { DownIcon } from '@onbeam/icons';
import { selectButton } from '@onbeam/styled-system/recipes';
import { jsxs, jsx } from 'react/jsx-runtime';

var c=a(({as:m="button",children:l,className:p,label:a,disableChevron:f=!1,icon:t,disabled:i=!1,...u},B)=>{let o=selectButton();return jsxs("div",{className:cx(o.root,p),children:[a,jsxs(m,{ref:B,className:o.button,"data-has-icon":!!t,disabled:i,...u,children:[t&&jsx(a$1,{size:24,className:o.icon,children:t}),l,!f&&jsx(DownIcon,{height:16,width:16})]})]})});c.displayName="SelectButton";

export { c as a };
//# sourceMappingURL=out.js.map
//# sourceMappingURL=chunk-WMAWUYGF.js.map