Skip to content

Commit

Permalink
feat: add WallectConnectColorful & CoinbaseWallectColorful icon (#180)
Browse files Browse the repository at this point in the history
* feat: add WallectConnectColorful icon

* feat: add coinbase wallect icon

---------

Co-authored-by: yutingzhao1991 <[email protected]>
  • Loading branch information
yutingzhao1991 and yutingzhao1991 authored Dec 6, 2023
1 parent 6b09438 commit 1248253
Show file tree
Hide file tree
Showing 6 changed files with 47 additions and 0 deletions.
9 changes: 9 additions & 0 deletions packages/icons/src/components/coinbase-wallet-colorful.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
import * as React from 'react';
import AntdIcon from '@ant-design/icons';
import { ReactComponent as SVGComponent } from '../svgs/coinbase-wallet-colorful.svg';
import { type IconBaseProps } from '@ant-design/icons/lib/components/Icon';

export const CoinbaseWallectColorful = React.forwardRef<HTMLSpanElement, IconBaseProps>(
(props, ref) => <AntdIcon {...props} ref={ref} component={SVGComponent} />,
);
CoinbaseWallectColorful.displayName = 'CoinbaseWallectColorful';
9 changes: 9 additions & 0 deletions packages/icons/src/components/wallectconnect-colorful.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
import * as React from 'react';
import AntdIcon from '@ant-design/icons';
import { ReactComponent as SVGComponent } from '../svgs/wallectconnect-colorful.svg';
import { type IconBaseProps } from '@ant-design/icons/lib/components/Icon';

export const WalletConnectColorful = React.forwardRef<HTMLSpanElement, IconBaseProps>(
(props, ref) => <AntdIcon {...props} ref={ref} component={SVGComponent} />,
);
WalletConnectColorful.displayName = 'WalletConnectColorful';
2 changes: 2 additions & 0 deletions packages/icons/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,5 @@ export * from './components/usdt-filled';
export * from './components/wallet-filled';
export * from './components/etherscan-colorful';
export * from './components/metamask-colorful';
export * from './components/wallectconnect-colorful';
export * from './components/coinbase-wallet-colorful';
12 changes: 12 additions & 0 deletions packages/icons/src/svgs/coinbase-wallet-colorful.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
11 changes: 11 additions & 0 deletions packages/icons/src/svgs/wallectconnect-colorful.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 4 additions & 0 deletions packages/web3/src/icons/demos/colorful.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ import {
ArbitrumColorful,
EtherscanColorful,
MetaMaskColorful,
WalletConnectColorful,
CoinbaseWallectColorful,
} from '@ant-design/web3-icons';
import { Space } from 'antd';

Expand All @@ -25,6 +27,8 @@ const App: React.FC = () => {
<ArbitrumColorful style={style} />
<EtherscanColorful style={style} />
<MetaMaskColorful style={style} />
<WalletConnectColorful style={style} />
<CoinbaseWallectColorful style={style} />
</Space>
);
};
Expand Down

0 comments on commit 1248253

Please sign in to comment.