"use strict";

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

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

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

var _branding = require("../../../mixins/branding");

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

var contextMenuPropTypes = {
  TriggerButton: _propTypes["default"].func,
  justify: _propTypes["default"].oneOf(['left', 'right']),
  items: _propTypes["default"].arrayOf(_propTypes["default"].shape({
    label: _types.translatedContentPropType,
    textColorName: (0, _branding.brandPropTypes)().colorName,
    onSelect: _propTypes["default"].func.isRequired
  })).isRequired,
  isLoading: _propTypes["default"].bool
};
exports.contextMenuPropTypes = contextMenuPropTypes;