Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add network support #28

Merged
merged 1 commit into from
Sep 19, 2024
Merged

feat: add network support #28

merged 1 commit into from
Sep 19, 2024

Conversation

KVNLS
Copy link
Member

@KVNLS KVNLS commented Sep 19, 2024

Add support for network
To display the network you need to add the network ledgerId as following:

  <CryptoIcon
    ledgerId={key}
    ticker={value.icon}
    size="48px"
    theme={theme}
    network={getNetworkFormLedgerId(key)}
  />
image image

@KVNLS KVNLS self-assigned this Sep 19, 2024
Copy link

cloudflare-workers-and-pages bot commented Sep 19, 2024

Deploying crypto-icons-storybook with  Cloudflare Pages  Cloudflare Pages

Latest commit: d4223de
Status: ✅  Deploy successful!
Preview URL: https://7b2da5d7.crypto-icons-storybook.pages.dev
Branch Preview URL: https://feat-add-network-support.crypto-icons-storybook.pages.dev

View logs

Copy link

Deploying crypto-icons with  Cloudflare Pages  Cloudflare Pages

Latest commit: d4223de
Status: ✅  Deploy successful!
Preview URL: https://993beb69.crypto-icons.pages.dev
Branch Preview URL: https://feat-add-network-support.crypto-icons.pages.dev

View logs

Copy link
Contributor

@mwiercinska mwiercinska left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚀

@KVNLS KVNLS merged commit 661a902 into main Sep 19, 2024
10 checks passed
@KVNLS KVNLS deleted the feat/add-network-support branch September 19, 2024 16:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants