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.js
CHANGED
@@ -32080,6 +32080,7 @@ const Window = ({
|
|
32080
32080
|
title = "Window",
|
32081
32081
|
icon,
|
32082
32082
|
children,
|
32083
|
+
content,
|
32083
32084
|
toolbar,
|
32084
32085
|
statusBar,
|
32085
32086
|
showMinimize = true,
|
@@ -32247,7 +32248,7 @@ const Window = ({
|
|
32247
32248
|
))
|
32248
32249
|
),
|
32249
32250
|
toolbar && /* @__PURE__ */ React.createElement("div", { className: "window__toolbar" }, toolbar),
|
32250
|
-
/* @__PURE__ */ React.createElement("div", { className: "window__content" }, children),
|
32251
|
+
/* @__PURE__ */ React.createElement("div", { className: "window__content" }, content || children),
|
32251
32252
|
statusBar && /* @__PURE__ */ React.createElement("div", { className: "window__status-bar" }, statusBar)
|
32252
32253
|
);
|
32253
32254
|
};
|