@hashicorp/react-basic-table
Advanced tools
Comparing version 2.0.0 to 2.0.1
@@ -7,2 +7,4 @@ 'use strict'; | ||
var fragment = "fragment basicTableFields on AlertRecord {\n headline\n rows {\n id\n timeSlot\n description\n }\n}\n"; | ||
function BasicTable(_ref) { | ||
@@ -12,9 +14,13 @@ var rows = _ref.data.rows; | ||
className: "g-basic-table" | ||
}, React.createElement("ul", null, rows.map(function (item, index) { | ||
}, React.createElement("ul", null, rows.map(function (row) { | ||
return React.createElement("li", { | ||
key: "row-".concat(index) | ||
}, React.createElement("span", null, item.time_slot), React.createElement("span", null, item.description)); | ||
key: "row-".concat(row.id) | ||
}, React.createElement("span", null, row.timeSlot), React.createElement("span", null, row.description)); | ||
}))); | ||
} | ||
BasicTable.fragment = { | ||
fragment: fragment | ||
}; | ||
module.exports = BasicTable; |
{ | ||
"name": "@hashicorp/react-basic-table", | ||
"description": "simple table", | ||
"version": "2.0.0", | ||
"version": "2.0.1", | ||
"author": "Hashicorp - Jeff Escalante", | ||
@@ -17,3 +17,3 @@ "license": "MPL-2.0", | ||
}, | ||
"gitHead": "e929ae35bdfe699e9e3ccac2442a8b1c6afa1ef9" | ||
"gitHead": "2ca1ce29bb5f3454b37af9f5be81f94b656875a1" | ||
} |
Sorry, the diff of this file is not supported yet
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
18533
6
41
1