index.js 825 B

1234567891011121314151617
  1. function _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'default' in ex) ? ex['default'] : ex; }
  2. var React = _interopDefault(require('react'));
  3. function List(_ref) {
  4. var groupName = _ref.groupName,
  5. _ref$members = _ref.members,
  6. members = _ref$members === void 0 ? [] : _ref$members;
  7. return /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement("h1", null, "1.0.3"), /*#__PURE__*/React.createElement("h5", null, "Group: ", /*#__PURE__*/React.createElement("em", null, groupName)), /*#__PURE__*/React.createElement("ul", null, /*#__PURE__*/React.createElement("p", null, "Members"), members.map(function (member) {
  8. return /*#__PURE__*/React.createElement("li", {
  9. key: member
  10. }, member);
  11. })));
  12. }
  13. exports.List = List;
  14. //# sourceMappingURL=index.js.map