"use strict";

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

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

var _types = require("../../../types");

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

var listItem = {
  id: _propTypes["default"].string.isRequired,
  text: _types.translatedContentPropType.isRequired,
  loading: _propTypes["default"].bool,
  disabled: _propTypes["default"].bool
};
var clickableListPropTypes = {
  label: _types.translatedContentPropType.isRequired,
  options: _propTypes["default"].arrayOf(_propTypes["default"].shape(listItem)),
  onClick: _propTypes["default"].func,
  disabled: _propTypes["default"].bool
};
exports.clickableListPropTypes = clickableListPropTypes;