From 16777ba20564d8b002e33a01afa3ea49ca715cce Mon Sep 17 00:00:00 2001 From: Sebastian Date: Wed, 17 Aug 2022 16:12:21 -0300 Subject: some fixes --- packages/taler-wallet-webextension/src/mui/Button.tsx | 3 +++ 1 file changed, 3 insertions(+) (limited to 'packages/taler-wallet-webextension/src/mui') diff --git a/packages/taler-wallet-webextension/src/mui/Button.tsx b/packages/taler-wallet-webextension/src/mui/Button.tsx index a7657ae29..2f12c1724 100644 --- a/packages/taler-wallet-webextension/src/mui/Button.tsx +++ b/packages/taler-wallet-webextension/src/mui/Button.tsx @@ -51,6 +51,7 @@ interface Props { size?: "small" | "medium" | "large"; startIcon?: VNode | string; variant?: "contained" | "outlined" | "text"; + tooltip?: string; color?: Colors; onClick?: () => Promise; } @@ -213,6 +214,7 @@ export function Button({ startIcon: sip, endIcon: eip, fullWidth, + tooltip, variant = "text", size = "medium", style: parentStyle, @@ -305,6 +307,7 @@ export function Button({ ? theme.palette.grey.A100 : theme.palette[color].dark, }} + title={tooltip} > {startIcon} {children} -- cgit v1.2.3