import e from"../../node_modules/classnames/index.js";import t from"react";import{LabelPlacement as a}from"../utils.js";import r from"../Input/Input.js";import l from"../Stack/Stack.js";import o from"../FormLabel/FormLabel.js";const m=({checked:m,disabled:c=!1,label:i,labelPlacement:n=a.Right,lightLabel:s=!0,onChange:p,value:b,...d})=>{const h=t.createElement(o,{label:i,light:s});return t.createElement(l,{alignItems:"center",row:!0},n===a.Left&&h,t.createElement(r,{...d,"aria-label":d["aria-label"]??i,checked:m,className:e("accent-color-primary","position-relative","ms-0","mt-0",{"cursor-pointer":!c}),disabled:c,onChange:p,type:"checkbox",value:b}),n===a.Right&&h)};export{m as default};
//# sourceMappingURL=Checkbox.js.map
