@gohanfromgoku/ui-kit 0.0.4 → 0.0.5

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.
@@ -9,7 +9,7 @@ const defaultProps = {
9
9
  };
10
10
  const Button = forwardRef((props, ref) => {
11
11
  const { children, className, onClick, disabled, type, ...rest } = { ...defaultProps, ...props };
12
- return (_jsx("button", { ref: ref, className: className, onClick: (event) => {
12
+ return (_jsx("button", { ref: ref, className: className, disabled: disabled, type: type, onClick: (event) => {
13
13
  if (type === "button" || !type) {
14
14
  event.preventDefault();
15
15
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gohanfromgoku/ui-kit",
3
- "version": "0.0.4",
3
+ "version": "0.0.5",
4
4
  "description": "ui-kit is a TypeScript based UI component library designed for building modern web applications with ease and efficiency.",
5
5
  "sideEffects": false,
6
6
  "scripts": {