@ledgerhq/crypto-icons-ui v1.1.0
@ledgerhq/icons-ui
A collection of cryptocurrency icons
This package contains a collection of React and React Native cryptocurrency icon components.
Reference
Installation
Note: Do not install this package directly if your project is using @ledgerhq/react-ui
or @ledgerhq/native-ui
. Both packages include icons-ui
as a dependency and the icon components are re-exported and are accessible from there.
Package
npm i @ledgerhq/crypto-icons-ui
Usage
Props
declare type Props = {
/**
* Icon size, defaults to 16.
*/
size?: number | string;
/**
* Icon color, defaults to currentColor.
*/
color?: string;
};
React
import { BTC, ETH } from "@ledgerhq/crypto-icons-ui/react"
/* … */
<BTC color="green" />
<ETH size={20} color="red" />
React Native
import { BTC, ETH } from "@ledgerhq/crypto-icons-ui/native"
/* … */
<BTC color="green" />
<ETH size={20} color="red" />
2 months ago
3 months ago
3 months ago
3 months ago
3 months ago
3 months ago
3 months ago
3 months ago
3 months ago
3 months ago
3 months ago
3 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
5 months ago
5 months ago
5 months ago
5 months ago
5 months ago
6 months ago
9 months ago
7 months ago
6 months ago
9 months ago
6 months ago
10 months ago
10 months ago
9 months ago
9 months ago
6 months ago
6 months ago
10 months ago
10 months ago
6 months ago
7 months ago
10 months ago
10 months ago
6 months ago
6 months ago
9 months ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
2 years ago
1 year ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago