@byteblaze/core
Advanced tools
+11
-2
@@ -28,3 +28,4 @@ 'use client' | ||
| __export(exports, { | ||
| Button: () => Button | ||
| Button: () => Button, | ||
| Text: () => Text | ||
| }); | ||
@@ -38,5 +39,13 @@ | ||
| Button.displayName = "Button"; | ||
| // src/Text.tsx | ||
| var React2 = __toModule(require("react")); | ||
| function Text(props) { | ||
| return /* @__PURE__ */ React2.createElement("h1", null, props.children); | ||
| } | ||
| Text.displayName = "Text"; | ||
| // Annotate the CommonJS export names for ESM import in node: | ||
| 0 && (module.exports = { | ||
| Button | ||
| Button, | ||
| Text | ||
| }); |
+9
-1
@@ -11,2 +11,10 @@ import * as React from 'react'; | ||
| export { Button, ButtonProps }; | ||
| interface TextProps { | ||
| children: React.ReactNode; | ||
| } | ||
| declare function Text(props: TextProps): JSX.Element; | ||
| declare namespace Text { | ||
| var displayName: string; | ||
| } | ||
| export { Button, ButtonProps, Text, TextProps }; |
+11
-2
@@ -28,3 +28,4 @@ 'use client' | ||
| __export(exports, { | ||
| Button: () => Button | ||
| Button: () => Button, | ||
| Text: () => Text | ||
| }); | ||
@@ -38,5 +39,13 @@ | ||
| Button.displayName = "Button"; | ||
| // src/Text.tsx | ||
| var React2 = __toModule(require("react")); | ||
| function Text(props) { | ||
| return /* @__PURE__ */ React2.createElement("h1", null, props.children); | ||
| } | ||
| Text.displayName = "Text"; | ||
| // Annotate the CommonJS export names for ESM import in node: | ||
| 0 && (module.exports = { | ||
| Button | ||
| Button, | ||
| Text | ||
| }); |
+11
-1
@@ -10,4 +10,14 @@ 'use client' | ||
| Button.displayName = "Button"; | ||
| // src/Text.tsx | ||
| import { | ||
| createElement as createElement2 | ||
| } from "react"; | ||
| function Text(props) { | ||
| return /* @__PURE__ */ createElement2("h1", null, props.children); | ||
| } | ||
| Text.displayName = "Text"; | ||
| export { | ||
| Button | ||
| Button, | ||
| Text | ||
| }; |
+1
-1
| { | ||
| "name": "@byteblaze/core", | ||
| "version": "0.0.0", | ||
| "version": "0.0.1", | ||
| "main": "./dist/index.js", | ||
@@ -5,0 +5,0 @@ "module": "./dist/index.mjs", |
5271
18.37%129
32.99%