sainw 4 tahun lalu
induk
melakukan
c14b2cb03d
6 mengubah file dengan 59 tambahan dan 1 penghapusan
  1. 0 1
      .gitignore
  2. 25 0
      dist/index.css
  3. 17 0
      dist/index.js
  4. 1 0
      dist/index.js.map
  5. 15 0
      dist/index.modern.js
  6. 1 0
      dist/index.modern.js.map

+ 0 - 1
.gitignore

@@ -6,7 +6,6 @@ node_modules
 
 # builds
 build
-dist
 .rpt2_cache
 
 # misc

+ 25 - 0
dist/index.css

@@ -0,0 +1,25 @@
+.__Q-W2 {
+  display: flex;
+}
+
+._2anau {
+  flex-grow: 1;
+  box-sizing: border-box;
+  width: 100%;
+}
+
+li._KjPQP {
+  list-style-type: none;
+}
+
+button {
+  border: 0;
+  border-radius: 4px;
+  padding: 5px 10px;
+  outline: none;
+  cursor: pointer;
+}
+
+button:active {
+  color: rgba(0, 0, 0, 0.75);
+}

+ 17 - 0
dist/index.js

@@ -0,0 +1,17 @@
+function _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'default' in ex) ? ex['default'] : ex; }
+
+var React = _interopDefault(require('react'));
+
+function List(_ref) {
+  var groupName = _ref.groupName,
+      _ref$members = _ref.members,
+      members = _ref$members === void 0 ? [] : _ref$members;
+  return /*#__PURE__*/React.createElement("div", null, /*#__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) {
+    return /*#__PURE__*/React.createElement("li", {
+      key: member
+    }, member);
+  })));
+}
+
+exports.List = List;
+//# sourceMappingURL=index.js.map

+ 1 - 0
dist/index.js.map

@@ -0,0 +1 @@
+{"version":3,"file":"index.js","sources":["../src/List/List.js"],"sourcesContent":["import React from 'react'\nimport styles from '../styles.module.css'\n\nfunction List({ groupName, members = [] }) {\n    return (\n      <div>\n        <h5>\n          Group: <em>{groupName}</em>\n        </h5>\n        <ul>\n          <p>Members</p>\n          {members.map((member) => (\n            <li key={member}>{member}</li>\n          ))}\n        </ul>\n      </div>\n    )\n  }\n  \n  export default List;"],"names":["List","groupName","members","map","member"],"mappings":";;;;AAGA,SAASA,IAAT,OAA2C;AAAA,MAA3BC,SAA2B,QAA3BA,SAA2B;AAAA,0BAAhBC,OAAgB;AAAA,MAAhBA,OAAgB,6BAAN,EAAM;AACvC,sBACE,8CACE,wDACS,gCAAKD,SAAL,CADT,CADF,eAIE,6CACE,yCADF,EAEGC,OAAO,CAACC,GAAR,CAAY,UAACC,MAAD;AAAA,wBACX;AAAI,MAAA,GAAG,EAAEA;AAAT,OAAkBA,MAAlB,CADW;AAAA,GAAZ,CAFH,CAJF,CADF;AAaD;;;;"}

+ 15 - 0
dist/index.modern.js

@@ -0,0 +1,15 @@
+import React from 'react';
+
+function List(_ref) {
+  var groupName = _ref.groupName,
+      _ref$members = _ref.members,
+      members = _ref$members === void 0 ? [] : _ref$members;
+  return /*#__PURE__*/React.createElement("div", null, /*#__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) {
+    return /*#__PURE__*/React.createElement("li", {
+      key: member
+    }, member);
+  })));
+}
+
+export { List };
+//# sourceMappingURL=index.modern.js.map

+ 1 - 0
dist/index.modern.js.map

@@ -0,0 +1 @@
+{"version":3,"file":"index.modern.js","sources":["../src/List/List.js"],"sourcesContent":["import React from 'react'\nimport styles from '../styles.module.css'\n\nfunction List({ groupName, members = [] }) {\n    return (\n      <div>\n        <h5>\n          Group: <em>{groupName}</em>\n        </h5>\n        <ul>\n          <p>Members</p>\n          {members.map((member) => (\n            <li key={member}>{member}</li>\n          ))}\n        </ul>\n      </div>\n    )\n  }\n  \n  export default List;"],"names":["List","groupName","members","map","member"],"mappings":";;AAGA,SAASA,IAAT,OAA2C;AAAA,MAA3BC,SAA2B,QAA3BA,SAA2B;AAAA,0BAAhBC,OAAgB;AAAA,MAAhBA,OAAgB,6BAAN,EAAM;AACvC,sBACE,8CACE,wDACS,gCAAKD,SAAL,CADT,CADF,eAIE,6CACE,yCADF,EAEGC,OAAO,CAACC,GAAR,CAAY,UAACC,MAAD;AAAA,wBACX;AAAI,MAAA,GAAG,EAAEA;AAAT,OAAkBA,MAAlB,CADW;AAAA,GAAZ,CAFH,CAJF,CADF;AAaD;;;;"}