import{jsx as r}from"react/jsx-runtime";import{FormControl as e,RadioGroup as n,FormControlLabel as o,Radio as a}from"@material-ui/core";var t=function(t){var i=t.options,l=t.currentValue,u=t.defaultValue,c=t.onChange,d=void 0===l?u:l;return r(e,{component:"fieldset",margin:"dense",fullWidth:!0,children:r(n,{"aria-label":"position",name:"radio_editor",row:!0,children:i.map((function(e){var n=e.value,t=e.label;return r(o,{onChange:function(){return c(n)},control:r(a,{color:"primary",checked:n===d}),label:t},n)}))})})};export{t as default};
