diff options
Diffstat (limited to 'packages/taler-wallet-webextension/src/components/styled/index.tsx')
-rw-r--r-- | packages/taler-wallet-webextension/src/components/styled/index.tsx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/packages/taler-wallet-webextension/src/components/styled/index.tsx b/packages/taler-wallet-webextension/src/components/styled/index.tsx index 70f996743..605860300 100644 --- a/packages/taler-wallet-webextension/src/components/styled/index.tsx +++ b/packages/taler-wallet-webextension/src/components/styled/index.tsx @@ -842,10 +842,12 @@ interface SvgIconProps { title: string; color: string; onClick?: any; + transform?: string; } export const SvgIcon = styled.div<SvgIconProps>` & > svg { fill: ${({ color }) => color}; + transform: ${({ transform }) => (transform ? transform : "")}; } width: 24px; height: 24px; |