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