UNPKG

@momentum-ui/react-collaboration

Version:

Cisco Momentum UI Framework for React Collaboration Applications

51 lines 3.33 kB
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 { Avatar, Icon, List, SpaceListMeeting } from '@momentum-ui/react-collaboration'; var ListItemSpaceListMeeting = /** @class */ (function (_super) { __extends(ListItemSpaceListMeeting, _super); function ListItemSpaceListMeeting() { return _super !== null && _super.apply(this, arguments) || this; } ListItemSpaceListMeeting.prototype.render = function () { return (React.createElement("div", { className: "medium-5 columns" }, React.createElement(List, { style: { backgroundColor: 'rgba(40,40,40,0.72)' } }, React.createElement(SpaceListMeeting, { buttonLabel: "Now", attendees: [ { title: 'Joe Bojangles' }, { title: 'Joe Boe' }, { title: 'Joe Coe' }, { title: 'Joe Doe' }, { title: 'Joe Foe' }, { title: 'Joe Goe' }, { title: 'Joe Joe' }, { title: 'Joe Koe' }, { title: 'Joe Loe' }, { title: 'Joe Moe' }, { title: 'Joe Noe' }, { title: 'Joe Poe' }, { title: 'Moe Moe' }, { title: 'Toe Toe' }, ], header: "Attendees Prop", subheader: "must be very long long long long long message message" }), React.createElement(SpaceListMeeting, { header: "isBold(true)", subheader: "subheader", isBold: true }), React.createElement(SpaceListMeeting, { buttonLabel: "In 5 Min", header: "MeetingType(group)", subheader: "subheader", meetingType: "group" }), React.createElement(SpaceListMeeting, { buttonLabel: "2:25", header: "MeetingType(number)", subheader: "subheader", meetingType: "number" }), React.createElement(SpaceListMeeting, { attendees: [{ title: 'Joe Boe' }, { title: 'Moe Moe' }, { title: 'Toe Toe' }], buttonLabel: "30:25", header: "MeetingType(device)", meetingType: "device" }), React.createElement(SpaceListMeeting, { attendees: [{ title: 'Joe Boe' }, { title: 'Moe Moe' }, { title: 'Toe Toe' }], buttonLabel: "30:25", header: "ChildrenLeft Prop", childrenLeft: React.createElement(Avatar, { size: 18, icon: React.createElement(Icon, { color: "blue", name: "mention_12" }) }) })))); }; return ListItemSpaceListMeeting; }(React.PureComponent)); export default ListItemSpaceListMeeting; //# sourceMappingURL=SpaceListMeeting.js.map