File tree Expand file tree Collapse file tree
src/components/CryptoIcon Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11{
22 "name" : " @ledgerhq/crypto-icons" ,
3- "version" : " 1.2.0 " ,
3+ "version" : " 1.2.1 " ,
44 "description" : " Crypto icons by Ledger" ,
55 "license" : " MIT" ,
66 "main" : " dist/index.js" ,
Original file line number Diff line number Diff line change @@ -5,11 +5,11 @@ import FallbackIcon from '../FallbackIcon/FallbackIcon';
55import IconWrapper , { RoundedIcon , Skeleton } from '../IconWrapper/IconWrapper' ;
66import { CryptoIconProps } from './CryptoIcon.types' ;
77
8- const Icon = styled ( RoundedIcon ) < { hasNetwork : boolean } > `
8+ const Icon = styled ( RoundedIcon ) < { $ hasNetwork : boolean } > `
99 height: 100%;
1010 width: 100%;
11- ${ ( { hasNetwork } ) =>
12- hasNetwork
11+ ${ ( { $ hasNetwork } ) =>
12+ $ hasNetwork
1313 ? 'mask-image: radial-gradient(circle closest-side at 81.5% 81.5%, transparent 125%, white 130%);'
1414 : '' }
1515` ;
@@ -36,7 +36,7 @@ const CryptoIcon: FC<CryptoIconProps> = ({
3636 return (
3737 < IconWrapper size = { size } theme = { theme } >
3838 { iconUrl ? (
39- < Icon theme = { theme } src = { iconUrl } alt = { ticker } hasNetwork = { ! ! networkUrl } />
39+ < Icon theme = { theme } src = { iconUrl } alt = { ticker } $ hasNetwork= { ! ! networkUrl } />
4040 ) : (
4141 < FallbackIcon ticker = { ticker } size = { size } />
4242 ) }
You can’t perform that action at this time.
0 commit comments