@gravity-platform/unoverse-react 0.0.3 → 0.0.4
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/dist/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -7249,7 +7249,7 @@ function UnoverseComponent({ client, uri, data, onAction, theme, isolate = true
|
|
|
7249
7249
|
const propDefaults2 = Object.fromEntries(
|
|
7250
7250
|
Object.entries(def.props ?? {}).map(([k, v]) => [k, v?.default])
|
|
7251
7251
|
);
|
|
7252
|
-
const merged =
|
|
7252
|
+
const merged = data ?? propDefaults2;
|
|
7253
7253
|
const body = /* @__PURE__ */ jsxs3(Fragment2, { children: [
|
|
7254
7254
|
/* @__PURE__ */ jsx4("style", { children: keyframesCss(activeTheme) }),
|
|
7255
7255
|
/* @__PURE__ */ jsx4("div", { style: { display: "contents", ...activeTheme.root }, children: renderNode(def.root, merged, onAction, activeTheme) })
|