"use strict";

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

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

var _statefulRadiogroupContainer = _interopRequireDefault(require("./stateful-radiogroup-container"));

var _radiogroup = _interopRequireDefault(require("./radiogroup"));

function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }

/*
Copyright (c) 2018 Uber Technologies, Inc.

This source code is licensed under the MIT license found in the
LICENSE file in the root directory of this source tree.
*/
// eslint-disable-next-line import/no-named-default
// eslint-disable-next-line import/no-named-default
// Styled elements
var StatefulRadioGroup = function StatefulRadioGroup(props) {
  var children = props.children;
  return _react.default.createElement(_statefulRadiogroupContainer.default, props, function (childrenProps) {
    return _react.default.createElement(_radiogroup.default, childrenProps, children);
  });
};

StatefulRadioGroup.displayName = 'StatefulRadioGroup';
var _default = StatefulRadioGroup;
exports.default = _default;