fix: no feedback on buttons on /getting-started page. (#10152)

* add isLoading type to ButtonProps type

* add loading feedback

* Update apps/web/components/getting-started/components/AppConnectionItem.tsx

Not neeeded as buttonProps.isLoading is false by default :)

---------

Co-authored-by: sean-brydon <[email protected]>
This commit is contained in:
Purushottam Khedreandsean-brydon authored and GitHub committed 2023-07-14 09:03:11 +00:00
1 parent fb16d8e900
commit 4aaf5da36d
3 files changed
+3

No files matched your search

+1
View File
@@ -34,6 +34,7 @@ export const InstallAppButtonWithoutPlanCheck = (
onClick: () => {
mutation.mutate({ type: props.type });
},
isLoading: mutation.isLoading,
})}
</>
);
+1
View File
@@ -34,6 +34,7 @@ export interface InstallAppButtonProps {
renderProps: ButtonProps & {
/** Tells that the default render component should be used */
useDefaultComponent?: boolean;
isLoading?: boolean;
}
) => JSX.Element;
onChanged?: () => unknown;