import{__rest as e,__assign as o}from'./../../ext-esm/tslib/tslib.es6.js';import{jsx as a}from"react/jsx-runtime";import{forwardRef as r,useCallback as i}from"react";import{Radio as n}from"@material-ui/core";import{RadioAndCheckboxLabel as t}from"../RadioAndCheckboxLabel/RadioAndCheckboxLabel.js";import l from"../RadioAndCheckboxLabel/RadioAndCheckboxLabel.scss.js";var m=r((function(r,m){var c=r.onChange,d=r.labelPlacement,s=void 0===d?"end":d,b=r.size,f=void 0===b?"medium":b,u=e(r,["onChange","labelPlacement","size"]),h=i((function(e){return null==c?void 0:c(e.target.checked,e)}),[c]);return a(t,o({control:a(n,{className:l.control}),onChange:h,ref:m,labelPlacement:s,size:f},u))}));export{m as Radio};
