"use strict";

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

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

var _statefulCheckboxContainer = _interopRequireDefault(require("./stateful-checkbox-container.js"));

var _checkbox = _interopRequireDefault(require("./checkbox.js"));

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 StatefulCheckbox = function StatefulCheckbox(props) {
  return _react.default.createElement(_statefulCheckboxContainer.default, props, function (childrenProps) {
    return _react.default.createElement(_checkbox.default, childrenProps, props.children);
  });
};

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