"use strict";

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

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

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

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

var toastCentrePropTypes = {
  messages: _propTypes["default"].arrayOf(_propTypes["default"].shape({
    id: _propTypes["default"].string,
    text: _types.translatedContentPropType.isRequired,
    onClose: _propTypes["default"].func,
    timerDelay: _propTypes["default"].number,
    level: _propTypes["default"].string
  }))
};
exports.toastCentrePropTypes = toastCentrePropTypes;