ywana-core8 0.2.1 → 0.2.2
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.js +2 -1
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +2 -1
- package/dist/index.modern.js.map +1 -1
- package/dist/index.umd.js +2 -1
- package/dist/index.umd.js.map +1 -1
- package/package.json +1 -1
- package/src/desktop/window.js +2 -1
package/dist/index.modern.js
CHANGED
@@ -32078,6 +32078,7 @@ const Window = ({
|
|
32078
32078
|
title = "Window",
|
32079
32079
|
icon,
|
32080
32080
|
children,
|
32081
|
+
content,
|
32081
32082
|
toolbar,
|
32082
32083
|
statusBar,
|
32083
32084
|
showMinimize = true,
|
@@ -32245,7 +32246,7 @@ const Window = ({
|
|
32245
32246
|
))
|
32246
32247
|
),
|
32247
32248
|
toolbar && /* @__PURE__ */ React.createElement("div", { className: "window__toolbar" }, toolbar),
|
32248
|
-
/* @__PURE__ */ React.createElement("div", { className: "window__content" }, children),
|
32249
|
+
/* @__PURE__ */ React.createElement("div", { className: "window__content" }, content || children),
|
32249
32250
|
statusBar && /* @__PURE__ */ React.createElement("div", { className: "window__status-bar" }, statusBar)
|
32250
32251
|
);
|
32251
32252
|
};
|