@momentum-ui/react-collaboration
Version:
Cisco Momentum UI Framework for React Collaboration Applications
42 lines • 1.78 kB
JavaScript
/** @component social-list */
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 PropTypes from 'prop-types';
/**
* @deprecated - Components in the legacy folder (/src/legacy) are deprecated. Please use a component from the components folder (/src/components) instead. Legacy components may not follow accessibility standards.
**/
var SocialList = /** @class */ (function (_super) {
__extends(SocialList, _super);
function SocialList() {
return _super !== null && _super.apply(this, arguments) || this;
}
SocialList.prototype.render = function () {
var children = this.props.children;
return React.createElement("span", { className: "md-social__list" }, children);
};
return SocialList;
}(React.Component));
SocialList.propTypes = {
/** @prop Children nodes to render inside SocialList | null */
children: PropTypes.node,
};
SocialList.defaultProps = {
children: null,
};
SocialList.displayName = 'SocialList';
export default SocialList;
//# sourceMappingURL=index.js.map