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