diff options
Diffstat (limited to 'packages/taler-wallet-webextension/src/components/styled')
-rw-r--r-- | packages/taler-wallet-webextension/src/components/styled/index.tsx | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/packages/taler-wallet-webextension/src/components/styled/index.tsx b/packages/taler-wallet-webextension/src/components/styled/index.tsx index ff4a5b4d5..2430be7c1 100644 --- a/packages/taler-wallet-webextension/src/components/styled/index.tsx +++ b/packages/taler-wallet-webextension/src/components/styled/index.tsx @@ -837,7 +837,11 @@ export const NavigationHeader = styled.div` } `; -export const SvgIcon = styled.div<{ color: string }>` +export const SvgIcon = styled.div<{ + title: string; + color: string; + onClick?: any; +}>` & > svg { fill: ${({ color }) => color}; } @@ -846,6 +850,7 @@ export const SvgIcon = styled.div<{ color: string }>` margin-left: auto; margin-right: 8px; padding: 4px; + cursor: ${({ onClick }) => (onClick ? "pointer" : "inherit")}; `; export const Icon = styled.div` |