ywana-core8 0.2.1 → 0.2.3
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/package.json
CHANGED
package/src/desktop/window.js
CHANGED
@@ -10,6 +10,7 @@ export const Window = ({
|
|
10
10
|
title = 'Window',
|
11
11
|
icon,
|
12
12
|
children,
|
13
|
+
content,
|
13
14
|
toolbar,
|
14
15
|
statusBar,
|
15
16
|
showMinimize = true,
|
@@ -247,7 +248,7 @@ export const Window = ({
|
|
247
248
|
|
248
249
|
{/* Window Content */}
|
249
250
|
<div className="window__content">
|
250
|
-
{children}
|
251
|
+
{content || children}
|
251
252
|
</div>
|
252
253
|
|
253
254
|
{/* Status Bar */}
|