@aboutbits/react-ui
Advanced tools
Comparing version 0.0.23 to 0.0.24
@@ -6,11 +6,9 @@ "use strict"; | ||
var section_1 = require("../section"); | ||
var framework_1 = require("../../framework"); | ||
var _1 = require("."); | ||
var LoadingListItem_1 = require("./LoadingListItem"); | ||
function LoadingList(_a) { | ||
var numberOfItems = _a.numberOfItems, sectionHeader = _a.sectionHeader; | ||
var loading = framework_1.useTheme().loading; | ||
return (jsx_runtime_1.jsxs(section_1.Section, { children: [jsx_runtime_1.jsx(section_1.SectionHeader, { children: jsx_runtime_1.jsx(section_1.SectionTitle, { children: sectionHeader }, void 0) }, void 0), jsx_runtime_1.jsx(section_1.SectionContentList, { children: Array(numberOfItems) | ||
.fill(null) | ||
.map(function (_, index) { return (jsx_runtime_1.jsxs(section_1.SectionListItem, { children: [jsx_runtime_1.jsx(_1.LoadingBar, { className: loading.listItem.start.base }, void 0), jsx_runtime_1.jsx(_1.LoadingBar, { className: loading.listItem.end.base }, void 0)] }, index)); }) }, void 0)] }, void 0)); | ||
.map(function (_, index) { return (jsx_runtime_1.jsx(LoadingListItem_1.LoadingListItem, {}, index)); }) }, void 0)] }, void 0)); | ||
} | ||
exports.LoadingList = LoadingList; |
{ | ||
"name": "@aboutbits/react-ui", | ||
"version": "0.0.23", | ||
"version": "0.0.24", | ||
"main": "index.js", | ||
@@ -5,0 +5,0 @@ "types": "index.d.ts", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
169877
215
3748