UNPKG

cometchat-react-ui-kit2

Version:

CometChat UI Kit for React App

28 lines (27 loc) 1.18 kB
"use strict"; var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); Object.defineProperty(exports, "__esModule", { value: true }); exports.ConversationListCustomView = void 0; var _createClass2 = _interopRequireDefault(require("@babel/runtime/helpers/createClass")); var _classCallCheck2 = _interopRequireDefault(require("@babel/runtime/helpers/classCallCheck")); /** * @class ConversationListCustomView * @description ConversationListCustomView class is used for defining the customView. * @param {any} loading * @param {any} empty * @param {any} error */var ConversationListCustomView = /*#__PURE__*/(0, _createClass2["default"])(function ConversationListCustomView(_ref) { var _ref$loading = _ref.loading, loading = _ref$loading === void 0 ? "" : _ref$loading, _ref$empty = _ref.empty, empty = _ref$empty === void 0 ? "" : _ref$empty, _ref$error = _ref.error, error = _ref$error === void 0 ? "" : _ref$error; (0, _classCallCheck2["default"])(this, ConversationListCustomView); this.loading = loading; this.empty = empty; this.error = error; }); exports.ConversationListCustomView = ConversationListCustomView;