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