UNPKG

cometchat-react-ui-kit2

Version:

CometChat UI Kit for React App

56 lines (55 loc) 2.67 kB
"use strict"; var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); Object.defineProperty(exports, "__esModule", { value: true }); exports.ConversationListStyles = void 0; var _createClass2 = _interopRequireDefault(require("@babel/runtime/helpers/createClass")); var _classCallCheck2 = _interopRequireDefault(require("@babel/runtime/helpers/classCallCheck")); /** * @class ConversationListStyles * @description ConversationListStyles class is used for defining the styles for conversation list. * @param {String} width * @param {String} height * @param {String} background * @param {String} border * @param {String} borderRadius * @param {String} loadingIconTint * @param {String} emptyStateTextFont * @param {String} emptyStateTextColor * @param {String} errorStateTextFont * @param {String} errorStateTextColor */var ConversationListStyles = /*#__PURE__*/(0, _createClass2["default"])(function ConversationListStyles(_ref) { var _ref$width = _ref.width, width = _ref$width === void 0 ? "100%" : _ref$width, _ref$height = _ref.height, height = _ref$height === void 0 ? "100%" : _ref$height, _ref$background = _ref.background, background = _ref$background === void 0 ? "" : _ref$background, _ref$border = _ref.border, border = _ref$border === void 0 ? "" : _ref$border, _ref$borderRadius = _ref.borderRadius, borderRadius = _ref$borderRadius === void 0 ? "0" : _ref$borderRadius, _ref$loadingIconTint = _ref.loadingIconTint, loadingIconTint = _ref$loadingIconTint === void 0 ? "" : _ref$loadingIconTint, _ref$emptyStateTextFo = _ref.emptyStateTextFont, emptyStateTextFont = _ref$emptyStateTextFo === void 0 ? "" : _ref$emptyStateTextFo, _ref$emptyStateTextCo = _ref.emptyStateTextColor, emptyStateTextColor = _ref$emptyStateTextCo === void 0 ? "" : _ref$emptyStateTextCo, _ref$errorStateTextFo = _ref.errorStateTextFont, errorStateTextFont = _ref$errorStateTextFo === void 0 ? "" : _ref$errorStateTextFo, _ref$errorStateTextCo = _ref.errorStateTextColor, errorStateTextColor = _ref$errorStateTextCo === void 0 ? "" : _ref$errorStateTextCo; (0, _classCallCheck2["default"])(this, ConversationListStyles); this.width = width; this.height = height; this.background = background; this.border = border; this.borderRadius = borderRadius; this.loadingIconTint = loadingIconTint; this.emptyStateTextFont = emptyStateTextFont; this.emptyStateTextColor = emptyStateTextColor; this.errorStateTextFont = errorStateTextFont; this.errorStateTextColor = errorStateTextColor; }); exports.ConversationListStyles = ConversationListStyles;