@shopify/react-html
Advanced tools
Comparing version 12.0.6 to 13.0.0
@@ -12,7 +12,5 @@ 'use strict'; | ||
function InlineStyle(props) { | ||
return /*#__PURE__*/React__default["default"].createElement("style", Object.assign({ | ||
type: "text/css" | ||
}, props)); | ||
return /*#__PURE__*/React__default["default"].createElement("style", props); | ||
} | ||
exports.InlineStyle = InlineStyle; |
@@ -19,3 +19,3 @@ 'use strict'; | ||
const attributes = { ...otherProps, | ||
type: !type || isNoModule ? 'text/javascript' : type, | ||
type: isNoModule ? 'text/javascript' : type, | ||
defer: type === 'module' ? undefined : defer, | ||
@@ -22,0 +22,0 @@ noModule: isNoModule ? true : undefined |
@@ -13,4 +13,3 @@ 'use strict'; | ||
return /*#__PURE__*/React__default["default"].createElement("link", Object.assign({ | ||
rel: "stylesheet", | ||
type: "text/css" | ||
rel: "stylesheet" | ||
}, props)); | ||
@@ -17,0 +16,0 @@ } |
{ | ||
"name": "@shopify/react-html", | ||
"version": "12.0.6", | ||
"version": "13.0.0", | ||
"license": "MIT", | ||
@@ -44,3 +44,3 @@ "description": "A component to render your React app with no static HTML", | ||
"devDependencies": { | ||
"@shopify/react-testing": "^5.0.0", | ||
"@shopify/react-testing": "^5.0.1", | ||
"@shopify/with-env": "^3.0.1" | ||
@@ -47,0 +47,0 @@ }, |
@@ -11,3 +11,3 @@ # `@shopify/react-html` | ||
```bash | ||
$ yarn add @shopify/react-html | ||
yarn add @shopify/react-html | ||
``` | ||
@@ -14,0 +14,0 @@ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
112782
1736