@wise/dynamic-flow-client 3.34.0 → 3.34.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/main.js +1 -1
- package/build/main.min.js +1 -1
- package/build/main.mjs +1 -1
- package/package.json +1 -1
package/build/main.js
CHANGED
|
@@ -14052,7 +14052,7 @@ var import_jsx_runtime59 = require("react/jsx-runtime");
|
|
|
14052
14052
|
var ListRenderer = {
|
|
14053
14053
|
canRenderType: "list",
|
|
14054
14054
|
render: ({ callToAction, margin, items, title }) => /* @__PURE__ */ (0, import_jsx_runtime59.jsxs)("div", { className: getMargin(margin), children: [
|
|
14055
|
-
title && /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(import_components42.Header, { as: "h2", title, action: getListAction(callToAction) }),
|
|
14055
|
+
(title || callToAction) && /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(import_components42.Header, { as: "h2", title: title != null ? title : "", action: getListAction(callToAction) }),
|
|
14056
14056
|
items.map((props) => /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(DesignSystemListItem, __spreadValues({}, props), props.title))
|
|
14057
14057
|
] })
|
|
14058
14058
|
};
|