diff options
author | fragosti <francesco.agosti93@gmail.com> | 2018-11-14 09:46:58 +0800 |
---|---|---|
committer | fragosti <francesco.agosti93@gmail.com> | 2018-11-14 09:46:58 +0800 |
commit | d19c8ae9b1469ae4f3bd5b4cb76c3ad679e9d641 (patch) | |
tree | e9a2788f7f8e1c0dac5b3e6c7e16f8904d5e5ca5 /packages/instant/src/components/coinbase_wallet_logo.tsx | |
parent | 84215f75e046597eb34f9d5409bd45410a0819e6 (diff) | |
download | dexon-sol-tools-d19c8ae9b1469ae4f3bd5b4cb76c3ad679e9d641.tar.gz dexon-sol-tools-d19c8ae9b1469ae4f3bd5b4cb76c3ad679e9d641.tar.zst dexon-sol-tools-d19c8ae9b1469ae4f3bd5b4cb76c3ad679e9d641.zip |
feat: add coinbase wallet app logo to wallet prompt
Diffstat (limited to 'packages/instant/src/components/coinbase_wallet_logo.tsx')
-rw-r--r-- | packages/instant/src/components/coinbase_wallet_logo.tsx | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/packages/instant/src/components/coinbase_wallet_logo.tsx b/packages/instant/src/components/coinbase_wallet_logo.tsx index f5a7be81c..f3c9ccdc2 100644 --- a/packages/instant/src/components/coinbase_wallet_logo.tsx +++ b/packages/instant/src/components/coinbase_wallet_logo.tsx @@ -30,3 +30,19 @@ CoinbaseWalletLogo.displayName = 'CoinbaseWalletLogo'; CoinbaseWalletLogo.defaultProps = { width: 164, }; + +export interface CoinbaseWalletAppLogoProps { + width?: number; +} + +export const CoinbaseWalletAppLogo: React.StatelessComponent<CoinbaseWalletAppLogoProps> = ({ width }) => ( + <svg width={width} viewBox="0 0 51 51" fill="none" xmlns="http://www.w3.org/2000/svg"> + <circle cx="25.5" cy="25.5" r="25.5" fill="#3263E9" /> + <path + fillRule="evenodd" + clipRule="evenodd" + d="M25.5 41C34.0604 41 41 34.0604 41 25.5C41 16.9396 34.0604 10 25.5 10C16.9396 10 10 16.9396 10 25.5C10 34.0604 16.9396 41 25.5 41ZM21.5108 20.5107C20.9586 20.5107 20.5108 20.9584 20.5108 21.5107V29.6223C20.5108 30.1746 20.9586 30.6223 21.5108 30.6223H29.6224C30.1747 30.6223 30.6224 30.1746 30.6224 29.6223V21.5107C30.6224 20.9584 30.1747 20.5107 29.6224 20.5107H21.5108Z" + fill="white" + /> + </svg> +); |