@pinerohit11/testwidget 0.1.3 → 0.1.5

Sign up to get free protection for your applications and to get access to all the features.
package/dist/index.d.mts CHANGED
@@ -1,7 +1,7 @@
1
- import * as react from 'react';
1
+ import * as react_jsx_runtime from 'react/jsx-runtime';
2
2
 
3
3
  declare function Greet({ name }: {
4
4
  name: string;
5
- }): react.JSX.Element;
5
+ }): react_jsx_runtime.JSX.Element;
6
6
 
7
7
  export { Greet };
package/dist/index.d.ts CHANGED
@@ -1,7 +1,7 @@
1
- import * as react from 'react';
1
+ import * as react_jsx_runtime from 'react/jsx-runtime';
2
2
 
3
3
  declare function Greet({ name }: {
4
4
  name: string;
5
- }): react.JSX.Element;
5
+ }): react_jsx_runtime.JSX.Element;
6
6
 
7
7
  export { Greet };
package/dist/index.js CHANGED
@@ -25,8 +25,13 @@ __export(app_exports, {
25
25
  module.exports = __toCommonJS(app_exports);
26
26
 
27
27
  // src/app/components/Greet.tsx
28
+ var import_jsx_runtime = require("react/jsx-runtime");
28
29
  function Greet({ name }) {
29
- return /* @__PURE__ */ React.createElement("h1", null, "Hello, ", name, "!");
30
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("h1", { children: [
31
+ "Hello, ",
32
+ name,
33
+ "!"
34
+ ] });
30
35
  }
31
36
  // Annotate the CommonJS export names for ESM import in node:
32
37
  0 && (module.exports = {
package/dist/index.mjs CHANGED
@@ -1,6 +1,11 @@
1
1
  // src/app/components/Greet.tsx
2
+ import { jsxs } from "react/jsx-runtime";
2
3
  function Greet({ name }) {
3
- return /* @__PURE__ */ React.createElement("h1", null, "Hello, ", name, "!");
4
+ return /* @__PURE__ */ jsxs("h1", { children: [
5
+ "Hello, ",
6
+ name,
7
+ "!"
8
+ ] });
4
9
  }
5
10
  export {
6
11
  Greet
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pinerohit11/testwidget",
3
- "version": "0.1.3",
3
+ "version": "0.1.5",
4
4
  "private": false,
5
5
  "scripts": {
6
6
  "dev": "next dev",