"use strict";const r=require("react/jsx-runtime"),l=require("@chakra-ui/react/styled-system"),a=require("./ToggleButton-CFG1iLco.cjs.js"),d=require("./extract-style-props-B4hqila-.cjs.js"),p=require("@chakra-ui/react"),g=require("./emotion-is-prop-valid.esm-ux_11lix.cjs.js"),P=require("./index-CVXB9mwf.cjs.js"),{withContext:y}=p.createRecipeContext({key:"toggleButton"}),x=y("button",{defaultProps:{type:"button"},shouldForwardProp(e,t){const o=!t?.includes(e)&&!P.system.isValidProperty(e);return g.isPropValid(e)&&o&&!e.includes("onPress")}}),s=({ref:e,...t})=>{const o=l.useRecipe({key:"toggleButton"}),[n,i]=o.splitVariantProps(t),[c,u]=d.extractStyleProps(i);return r.jsx(x,{...n,...c,asChild:!0,children:r.jsx(a.$efde0372d7a700fe$export$d2b052e7b4be1756,{ref:e,...u})})};s.displayName="ToggleButton";exports.ToggleButton=s;
//# sourceMappingURL=toggle-button-L7i1XaWg.cjs.js.map
