"use strict";

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

var _propTypes = _interopRequireDefault(require("prop-types"));

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

// Needed for the hacky way recompose withContext works.
// TODO: this entire component needs a refactor.
var selectorContextTypes = {
  stateful: _propTypes["default"].bool,
  name: _propTypes["default"].string,
  onChange: _propTypes["default"].func.isRequired,
  managedValue: _propTypes["default"].oneOfType([_propTypes["default"].arrayOf(_propTypes["default"].string), _propTypes["default"].string, _propTypes["default"].number]),
  type: _propTypes["default"].oneOf(['radio', 'checkbox'])
};
exports.selectorContextTypes = selectorContextTypes;