@momentum-ui/react-collaboration
Version:
Cisco Momentum UI Framework for React Collaboration Applications
35 lines • 2.29 kB
JavaScript
var __extends = (this && this.__extends) || (function () {
var extendStatics = function (d, b) {
extendStatics = Object.setPrototypeOf ||
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
return extendStatics(d, b);
};
return function (d, b) {
if (typeof b !== "function" && b !== null)
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
extendStatics(d, b);
function __() { this.constructor = d; }
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
};
})();
import React from 'react';
import { ContentItem } from '@momentum-ui/react-collaboration';
var ContentItemLoading = /** @class */ (function (_super) {
__extends(ContentItemLoading, _super);
function ContentItemLoading() {
return _super !== null && _super.apply(this, arguments) || this;
}
ContentItemLoading.prototype.render = function () {
return (React.createElement("div", { className: "columns large" },
React.createElement("div", { className: "docs-example docs-example--spacing" },
React.createElement(ContentItem, { aspect: "threeTwo", content: "https://newevolutiondesigns.com/images/freebies/yellow-wallpaper-12.jpg", loading: true, loadingText: "Loading", subtitle: "Barbara German, 4 days", type: "file", title: "Logo.pdf" })),
React.createElement("div", { className: "docs-example docs-example--spacing" },
React.createElement(ContentItem, { aspect: "sixteenNine", content: "https://newevolutiondesigns.com/images/freebies/yellow-wallpaper-12.jpg", loading: true, subtitle: "Barbara German, 4 days", type: "chat", title: "Logo.pdf" })),
React.createElement("div", { className: "docs-example docs-example--spacing" },
React.createElement(ContentItem, { aspect: "sixteenNine", loading: true, subtitle: "Barbara German, 4 days", type: "chat", title: "Logo.pdf" }))));
};
return ContentItemLoading;
}(React.PureComponent));
export default ContentItemLoading;
//# sourceMappingURL=Spinner.js.map