summaryrefslogtreecommitdiff
path: root/packages/frontend/src/components/exception/AsyncButton.tsx
diff options
context:
space:
mode:
authorSebastian <sebasjm@gmail.com>2021-06-15 10:28:46 -0300
committerSebastian <sebasjm@gmail.com>2021-06-15 10:28:52 -0300
commitd4bce8447350148c24a6ac0717d4d979d6fc0cfe (patch)
tree85197ac82fb3f5475a38c884fd14c632623d7eeb /packages/frontend/src/components/exception/AsyncButton.tsx
parente81cf151903bea02c773aa402a91199ae5834401 (diff)
downloadmerchant-backoffice-d4bce8447350148c24a6ac0717d4d979d6fc0cfe.tar.gz
merchant-backoffice-d4bce8447350148c24a6ac0717d4d979d6fc0cfe.tar.bz2
merchant-backoffice-d4bce8447350148c24a6ac0717d4d979d6fc0cfe.zip
add tooltips to the buttons
Diffstat (limited to 'packages/frontend/src/components/exception/AsyncButton.tsx')
-rw-r--r--packages/frontend/src/components/exception/AsyncButton.tsx1
1 files changed, 1 insertions, 0 deletions
diff --git a/packages/frontend/src/components/exception/AsyncButton.tsx b/packages/frontend/src/components/exception/AsyncButton.tsx
index 3dad3e0..92bab4b 100644
--- a/packages/frontend/src/components/exception/AsyncButton.tsx
+++ b/packages/frontend/src/components/exception/AsyncButton.tsx
@@ -28,6 +28,7 @@ type Props = {
children: ComponentChildren,
disabled: boolean;
onClick?: () => Promise<void>;
+ [rest:string]: any,
};
export function AsyncButton({ onClick, disabled, children, ...rest }: Props) {