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