@send2biplab/ubk.erp.webpack 1.1.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.
@@ -0,0 +1,5 @@
1
+ export default Button;
2
+ declare function Button({ children, onClick }: {
3
+ children: any;
4
+ onClick: any;
5
+ }): any;
package/dist/Button.js ADDED
@@ -0,0 +1,18 @@
1
+ "use strict";
2
+ var __importDefault = (this && this.__importDefault) || function (mod) {
3
+ return (mod && mod.__esModule) ? mod : { "default": mod };
4
+ };
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ var jsx_runtime_1 = require("react/jsx-runtime");
7
+ var react_1 = __importDefault(require("react"));
8
+ var Button = function (_a) {
9
+ var children = _a.children, onClick = _a.onClick;
10
+ return ((0, jsx_runtime_1.jsx)("button", { style: {
11
+ padding: "10px 20px",
12
+ backgroundColor: "#007bff",
13
+ color: "#fff",
14
+ border: "none",
15
+ borderRadius: "5px",
16
+ }, onClick: onClick, children: children }));
17
+ };
18
+ exports.default = Button;
@@ -0,0 +1 @@
1
+ export { default as Button } from "./Button";
package/dist/index.js ADDED
@@ -0,0 +1,8 @@
1
+ "use strict";
2
+ var __importDefault = (this && this.__importDefault) || function (mod) {
3
+ return (mod && mod.__esModule) ? mod : { "default": mod };
4
+ };
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.Button = void 0;
7
+ var Button_1 = require("./Button");
8
+ Object.defineProperty(exports, "Button", { enumerable: true, get: function () { return __importDefault(Button_1).default; } });
package/package.json ADDED
@@ -0,0 +1,27 @@
1
+ {
2
+ "name": "@send2biplab/ubk.erp.webpack",
3
+ "version": "1.1.4",
4
+ "main": "dist/index.js",
5
+ "types": "dist/index.d.ts",
6
+ "files": [
7
+ "dist"
8
+ ],
9
+ "author": "ubk infotech",
10
+ "license": "ISC",
11
+ "description": "UBK internal React component library",
12
+ "publishConfig": {
13
+ "access": "public"
14
+ },
15
+ "scripts": {
16
+ "build": "tsc",
17
+ "prepare": "npm run build"
18
+ },
19
+ "peerDependencies": {
20
+ "react": ">=18",
21
+ "react-dom": ">=18"
22
+ },
23
+ "devDependencies": {
24
+ "typescript": "^5.9.3",
25
+ "tslib": "^2.8.1"
26
+ }
27
+ }