import"@babel/runtime/helpers/defineProperty";import{jsx as e}from"react/jsx-runtime";import{FormControl as r,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,m=void 0===l?u:l;return e(r,{component:"fieldset",margin:"dense",fullWidth:!0,children:e(n,{"aria-label":"position",name:"radio_editor",row:!0,children:i.map((function(r){var n=r.value,t=r.label;return e(o,{onChange:function(){return c(n)},control:e(a,{color:"primary",checked:n===m}),label:t},n)}))})})};export{t as default};
//# sourceMappingURL=index.js.map
