import{j as o,bf as p,bQ as j,bR as c,aL as R,bS as h}from"./vendor-ClLR6ncd.js";import{M as f}from"./index-OtVJl4GC.js";function F({row:t=!0,label:a,value:e,setter:i,items:d,disabled:l,sx:n,radioSx:b}){return o.jsxs(p,{sx:n,children:[o.jsx(j,{id:`radio-button-group-${a}`,children:a}),o.jsx(c,{row:t,"aria-labelledby":`radio-button-group-${a}`,value:e,onChange:({target:{value:r}})=>i(r),children:d.map(({label:r,value:s,title:u,placement:x,disabled:m})=>o.jsx(f,{title:u,placement:x,children:o.jsx(R,{disabled:m||l,value:s,control:o.jsx(h,{sx:b}),label:r})},s))})]})}export{F as R};
