diff --git a/package-lock.json b/package-lock.json
index 1ad0a6de..3f3d9392 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -5,9 +5,9 @@
"requires": true,
"dependencies": {
"@nodegui/nodegui": {
- "version": "0.5.1",
- "resolved": "https://registry.npmjs.org/@nodegui/nodegui/-/nodegui-0.5.1.tgz",
- "integrity": "sha512-+3PjA13cyVFPpGcIip2JZuz4+zzXFtxV/pRDHpFnpX4HDrcB1xCfTH3eYHafk88oufffDycSKTKqL0fuTLTDYA==",
+ "version": "0.6.5",
+ "resolved": "https://registry.npmjs.org/@nodegui/nodegui/-/nodegui-0.6.5.tgz",
+ "integrity": "sha512-oAp99eyiVyVBjnEB54ghy058oB37Xb3LW18VFcrLog8MU2RfetaKjIGk6LPgeCe5IBStfVmlZbJnuW7Tq/Te4A==",
"dev": true,
"requires": {
"@nodegui/qode": "^1.0.5",
@@ -19,9 +19,9 @@
}
},
"@nodegui/qode": {
- "version": "1.0.5",
- "resolved": "https://registry.npmjs.org/@nodegui/qode/-/qode-1.0.5.tgz",
- "integrity": "sha512-JKb4JcC03VCdodmiL35VfznsCKHpiKOYbtgf9+KTHhH5p7IXvr+0k/LIq112T6Rpxd5zXa1pbsnfa2F8ReyWEg==",
+ "version": "1.0.6",
+ "resolved": "https://registry.npmjs.org/@nodegui/qode/-/qode-1.0.6.tgz",
+ "integrity": "sha512-Np6r91wDCzV4+PCepr83t+BjWBtZMh5WT9/68mXXSMJi+ueZbYXL0d5VAIJ84C87NMwnA/7hdoqppp8lgzymvg==",
"dev": true,
"requires": {
"env-paths": "^2.2.0",
@@ -470,9 +470,9 @@
},
"dependencies": {
"which": {
- "version": "2.0.1",
- "resolved": "https://registry.npmjs.org/which/-/which-2.0.1.tgz",
- "integrity": "sha512-N7GBZOTswtB9lkQBZA4+zAXrjEIWAUOB93AvzUiudRzRxhUdLURQ7D/gAIMY1gatT/LTbmbcv8SiYazy3eYB7w==",
+ "version": "2.0.2",
+ "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz",
+ "integrity": "sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA==",
"dev": true,
"requires": {
"isexe": "^2.0.0"
@@ -1071,18 +1071,18 @@
}
},
"mime-db": {
- "version": "1.40.0",
- "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.40.0.tgz",
- "integrity": "sha512-jYdeOMPy9vnxEqFRRo6ZvTZ8d9oPb+k18PKoYNYUe2stVEBPPwsln/qWzdbmaIvnhZ9v2P+CuecK+fpUfsV2mA==",
+ "version": "1.42.0",
+ "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.42.0.tgz",
+ "integrity": "sha512-UbfJCR4UAVRNgMpfImz05smAXK7+c+ZntjaA26ANtkXLlOe947Aag5zdIcKQULAiF9Cq4WxBi9jUs5zkA84bYQ==",
"dev": true
},
"mime-types": {
- "version": "2.1.24",
- "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.24.tgz",
- "integrity": "sha512-WaFHS3MCl5fapm3oLxU4eYDw77IQM2ACcxQ9RIxfaC3ooc6PFuBMGZZsYpvoXS5D5QTWPieo1jjLdAm3TBP3cQ==",
+ "version": "2.1.25",
+ "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.25.tgz",
+ "integrity": "sha512-5KhStqB5xpTAeGqKBAMgwaYMnQik7teQN4IAzC7npDv6kzeU6prfkR67bc87J1kWMPGkoaZSq1npmexMgkmEVg==",
"dev": true,
"requires": {
- "mime-db": "1.40.0"
+ "mime-db": "1.42.0"
}
},
"mimic-response": {
@@ -1227,9 +1227,9 @@
"dev": true
},
"path-key": {
- "version": "3.1.0",
- "resolved": "https://registry.npmjs.org/path-key/-/path-key-3.1.0.tgz",
- "integrity": "sha512-8cChqz0RP6SHJkMt48FW0A7+qUOn+OsnOsVtzI59tZ8m+5bCSk7hzwET0pulwOM2YMn9J1efb07KB9l9f30SGg==",
+ "version": "3.1.1",
+ "resolved": "https://registry.npmjs.org/path-key/-/path-key-3.1.1.tgz",
+ "integrity": "sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q==",
"dev": true
},
"path-parse": {
@@ -1251,9 +1251,9 @@
"dev": true
},
"postcss": {
- "version": "7.0.21",
- "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.21.tgz",
- "integrity": "sha512-uIFtJElxJo29QC753JzhidoAhvp/e/Exezkdhfmt8AymWT6/5B7W1WmponYWkHk2eg6sONyTch0A3nkMPun3SQ==",
+ "version": "7.0.23",
+ "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.23.tgz",
+ "integrity": "sha512-hOlMf3ouRIFXD+j2VJecwssTwbvsPGJVMzupptg+85WA+i7MwyrydmQAgY3R+m0Bc0exunhbJmijy8u8+vufuQ==",
"dev": true,
"requires": {
"chalk": "^2.4.2",
diff --git a/package.json b/package.json
index 822ae81a..3dc44307 100644
--- a/package.json
+++ b/package.json
@@ -31,7 +31,7 @@
"react": "^16.9.0"
},
"devDependencies": {
- "@nodegui/nodegui": "^0.5.1",
+ "@nodegui/nodegui": "^0.6.5",
"@types/node": "^12.0.10",
"prettier": "^1.18.2",
"react": "^16.9.0",
diff --git a/src/demo.tsx b/src/demo.tsx
index af189d3d..ae17b8b6 100644
--- a/src/demo.tsx
+++ b/src/demo.tsx
@@ -1,16 +1,25 @@
import React from "react";
import { Renderer, Button, Window, View } from "./index";
+
const App = () => {
return (
-
+
);
};
+
+const containerStyle = `
+ flex: 1;
+ justify-content:'center';
+ border: 1px solid blue;
+ padding: 10;
+`;
const buttonStyle = `
color: white;
`;
+
Renderer.render();