16 lines
495 B
JavaScript
16 lines
495 B
JavaScript
(function () {
|
|
const OrgPortal = (window.OrgPortal = window.OrgPortal || {});
|
|
const { h } = OrgPortal.runtime;
|
|
|
|
OrgPortal.componentFns = OrgPortal.componentFns || {};
|
|
|
|
OrgPortal.componentFns.SimpleStat = function SimpleStat(label, value) {
|
|
return h(
|
|
"div",
|
|
{ className: "org-simple-stat" },
|
|
h("span", { className: "org-simple-label" }, label),
|
|
h("strong", { className: "org-simple-value" }, value),
|
|
);
|
|
};
|
|
})();
|