Skip to content

Commit

Permalink
feat: Add Phantom icon
Browse files Browse the repository at this point in the history
  • Loading branch information
gmolki committed Oct 6, 2024
1 parent 1d7a787 commit e16686b
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/components/common/Icon/custom/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ export { default as earn } from './earn'
export { default as ethereum } from './ethereum'
export { default as explore } from './explore'
export { default as notification } from './notification'
export { default as phantom } from './phantom'
export { default as polkadot } from './polkadot'
export { default as polygon } from './polygon'
export { default as profile } from './profile'
Expand Down
11 changes: 11 additions & 0 deletions src/components/common/Icon/custom/phantom.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
import React, { SVGAttributes, memo } from 'react'

const PhantomIcon = (props: SVGAttributes<SVGElement>) => {
return (
<svg viewBox="0 0 593 493" xmlns="http://www.w3.org/2000/svg" {...props}>
<path d="M70.0546 493C145.604 493 202.38 427.297 236.263 375.378C232.142 386.865 229.852 398.351 229.852 409.378C229.852 439.703 247.252 461.297 281.592 461.297C328.753 461.297 379.119 419.946 405.218 375.378C403.386 381.811 402.471 387.784 402.471 393.297C402.471 414.432 414.375 427.757 438.643 427.757C515.108 427.757 592.03 292.216 592.03 173.676C592.03 81.3243 545.327 0 428.112 0C222.069 0 0 251.784 0 414.432C0 478.297 34.3405 493 70.0546 493ZM357.141 163.568C357.141 140.595 369.962 124.514 388.734 124.514C407.049 124.514 419.87 140.595 419.87 163.568C419.87 186.541 407.049 203.081 388.734 203.081C369.962 203.081 357.141 186.541 357.141 163.568ZM455.126 163.568C455.126 140.595 467.947 124.514 486.719 124.514C505.034 124.514 517.855 140.595 517.855 163.568C517.855 186.541 505.034 203.081 486.719 203.081C467.947 203.081 455.126 186.541 455.126 163.568Z" />
</svg>
)
}

export default memo(PhantomIcon) as typeof PhantomIcon
1 change: 1 addition & 0 deletions src/components/common/Icon/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ export type CustomIconName =
| 'ethereum'
| 'explore'
| 'notification'
| 'phantom'
| 'polkadot'
| 'polygon'
| 'profile'
Expand Down

0 comments on commit e16686b

Please sign in to comment.