@ansible/ansible-ui-framework 0.0.668 → 0.0.670
Sign up to get free protection for your applications and to get access to all the features.
@@ -44,7 +44,7 @@ type IPageSingleActionWithLink<T extends object> = IPageActionCommon & {
|
|
44
44
|
type IPageSingleActionWithOnClick<T extends object> = IPageActionCommon & {
|
45
45
|
type: PageActionType.single;
|
46
46
|
variant?: ButtonVariant;
|
47
|
-
onClick: (item: T) => void |
|
47
|
+
onClick: (item: T) => void | Promise<unknown>;
|
48
48
|
href?: never;
|
49
49
|
isDisabled?: (item: T) => string | undefined;
|
50
50
|
isHidden?: (item: T) => boolean;
|