@dsexample/core
Advanced tools
Comparing version 2.0.1 to 2.0.2
@@ -23,3 +23,4 @@ "use strict"; | ||
__export(src_exports, { | ||
Button: () => Button | ||
Button: () => Button, | ||
Input: () => Input | ||
}); | ||
@@ -31,10 +32,26 @@ module.exports = __toCommonJS(src_exports); | ||
function Button(props) { | ||
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)("button", { | ||
children: props.children | ||
return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("button", { | ||
children: [ | ||
props.children, | ||
"bar" | ||
] | ||
}); | ||
} | ||
Button.displayName = "Button"; | ||
// src/Input.tsx | ||
var import_jsx_runtime = require("react/jsx-runtime"); | ||
function Input(props) { | ||
return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("button", { | ||
children: [ | ||
props.children, | ||
"bar" | ||
] | ||
}); | ||
} | ||
Input.displayName = "Input"; | ||
// Annotate the CommonJS export names for ESM import in node: | ||
0 && (module.exports = { | ||
Button | ||
Button, | ||
Input | ||
}); |
@@ -11,2 +11,10 @@ import * as React from 'react'; | ||
export { Button, ButtonProps }; | ||
interface InputProps { | ||
children: React.ReactNode; | ||
} | ||
declare function Input(props: InputProps): JSX.Element; | ||
declare namespace Input { | ||
var displayName: string; | ||
} | ||
export { Button, ButtonProps, Input, InputProps }; |
@@ -23,3 +23,4 @@ "use strict"; | ||
__export(src_exports, { | ||
Button: () => Button | ||
Button: () => Button, | ||
Input: () => Input | ||
}); | ||
@@ -31,10 +32,26 @@ module.exports = __toCommonJS(src_exports); | ||
function Button(props) { | ||
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)("button", { | ||
children: props.children | ||
return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("button", { | ||
children: [ | ||
props.children, | ||
"bar" | ||
] | ||
}); | ||
} | ||
Button.displayName = "Button"; | ||
// src/Input.tsx | ||
var import_jsx_runtime = require("react/jsx-runtime"); | ||
function Input(props) { | ||
return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("button", { | ||
children: [ | ||
props.children, | ||
"bar" | ||
] | ||
}); | ||
} | ||
Input.displayName = "Input"; | ||
// Annotate the CommonJS export names for ESM import in node: | ||
0 && (module.exports = { | ||
Button | ||
Button, | ||
Input | ||
}); |
{ | ||
"name": "@dsexample/core", | ||
"private": false, | ||
"version": "2.0.1", | ||
"version": "2.0.2", | ||
"main": "./dist/index.js", | ||
@@ -6,0 +6,0 @@ "module": "./dist/index.mjs", |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
4919
146