"use strict";

var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports["default"] = void 0;

var _FormControlLabel = _interopRequireDefault(require("@material-ui/core/FormControlLabel"));

var _Radio = _interopRequireDefault(require("@material-ui/core/Radio"));

var _react = _interopRequireDefault(require("react"));

var _styles = require("@material-ui/core/styles");

var _default = (0, _styles.withStyles)({
  label: {
    left: '-5px',
    position: 'relative'
  }
})(function (_ref) {
  var label = _ref.label,
      value = _ref.value,
      checked = _ref.checked,
      onChange = _ref.onChange,
      classes = _ref.classes;
  return /*#__PURE__*/_react["default"].createElement(_FormControlLabel["default"], {
    value: value,
    classes: classes,
    control: /*#__PURE__*/_react["default"].createElement(_Radio["default"], {
      checked: checked,
      onChange: onChange
    }),
    label: label
  });
});

exports["default"] = _default;
//# sourceMappingURL=radio-with-label.js.map