react-better-html 1.0.3 → 1.0.4

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.
@@ -4,7 +4,7 @@ const react_1 = require("react");
4
4
  const react_better_html_1 = require("react-better-html");
5
5
  function App() {
6
6
  return (<>
7
- <react_better_html_1.Div />
7
+ <react_better_html_1.Div>Hello there</react_better_html_1.Div>
8
8
  </>);
9
9
  }
10
10
  exports.default = (0, react_1.memo)(App);
@@ -2,6 +2,6 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  const react_1 = require("react");
4
4
  function Div({ children }) {
5
- return <>{children}</>;
5
+ return <div>{children}</div>;
6
6
  }
7
7
  exports.default = (0, react_1.memo)(Div);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-better-html",
3
- "version": "1.0.3",
3
+ "version": "1.0.4",
4
4
  "description": "A component library for react that is as close to plane html as possible",
5
5
  "main": "dist/index.js",
6
6
  "files": [