@@ -14,3 +14,3 @@ "use strict"; | ||
| var styled_components_1 = require("styled-components"); | ||
| var GlobalStyle = styled_components_1.createGlobalStyle(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n color:", ";\n background:", ";\n"], ["\n color:", ";\n background:", ";\n"])), function (props) { return props.color; }, function (props) { return props.background; }); | ||
| var GlobalStyle = styled_components_1.createGlobalStyle(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n body {\n color:", ";\n background:", " !important;\n }\n"], ["\n body {\n color:", ";\n background:", " !important;\n }\n"])), function (props) { return props.color; }, function (props) { return props.background; }); | ||
| exports.PageScaffold = function (props) { | ||
@@ -17,0 +17,0 @@ var _a; |
+1
-1
| { | ||
| "name": "flutter-ui", | ||
| "version": "1.0.2", | ||
| "version": "1.0.4", | ||
| "main": "./dist/index.js", | ||
@@ -5,0 +5,0 @@ "types": "./dist/index.d.ts", |
@@ -6,4 +6,6 @@ import React from 'react' | ||
| const GlobalStyle = createGlobalStyle<{ color: string; background: string }>` | ||
| color:${props => props.color}; | ||
| background:${props => props.background}; | ||
| body { | ||
| color:${props => props.color}; | ||
| background:${props => props.background} !important; | ||
| } | ||
| ` | ||
@@ -10,0 +12,0 @@ |
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
40024
0.22%916
0.22%0
-100%