@cloudoperators/juno-ui-components 6.1.2 → 6.1.3
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.
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { default as React, HTMLProps, MouseEventHandler, ReactNode } from 'react';
|
|
1
|
+
import { default as React, HTMLProps, MouseEventHandler, ReactNode, ButtonHTMLAttributes } from 'react';
|
|
2
2
|
import { KnownIcons } from '../Icon/Icon.component';
|
|
3
3
|
/**
|
|
4
4
|
* The `Button` component provides an interactive element for user actions, supporting various sizes,
|
|
@@ -53,6 +53,11 @@ export interface ButtonProps extends Omit<HTMLProps<HTMLAnchorElement> | HTMLPro
|
|
|
53
53
|
* Click event handler for the button.
|
|
54
54
|
*/
|
|
55
55
|
onClick?: MouseEventHandler<HTMLButtonElement | HTMLAnchorElement>;
|
|
56
|
+
/**
|
|
57
|
+
* Button type.
|
|
58
|
+
* @default "button"
|
|
59
|
+
*/
|
|
60
|
+
type?: ButtonHTMLAttributes<HTMLButtonElement>["type"];
|
|
56
61
|
/**
|
|
57
62
|
* Indicates whether the button's action is in progress.
|
|
58
63
|
* @default false
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Button.component.d.ts","sourceRoot":"","sources":["../../../src/components/Button/Button.component.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"Button.component.d.ts","sourceRoot":"","sources":["../../../src/components/Button/Button.component.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,EAEZ,SAAS,EACT,iBAAiB,EACjB,SAAS,EAET,oBAAoB,EAErB,MAAM,OAAO,CAAA;AAEd,OAAO,EAAE,UAAU,EAAE,MAAM,wBAAwB,CAAA;AAsJnD;;;;;GAKG;AACH,eAAO,MAAM,MAAM,wHA2FlB,CAAA;AAID,KAAK,aAAa,GAAG,SAAS,GAAG,gBAAgB,GAAG,SAAS,GAAG,SAAS,CAAA;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