New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

react-native-cryptocoins

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-native-cryptocoins

Icons from allienworks/cryptocoins for React Native

1.0.0
latest
Source
npm
Version published
Weekly downloads
4
Maintainers
1
Weekly downloads
 
Created
Source

react-native-cryptocoins

This library exposes the fonts created at https://github.com/allienworks/cryptocoins for consumption with React Native. It bundles them using this library https://github.com/oblador/react-native-vector-icons.

This library exposes Icon which is exactly https://github.com/oblador/react-native-vector-icons#icon-component.

Install

yarn add react-native-cryptocoins

# This library doesn't include the fonts. Install them with:
yarn add cryptocoins-icons

You will need to then manually include the font in your project. After the above install it can be found: node_modules/cryptocoins-icons/webfont/cryptocoins.ttf.

Usage

Render an icon

import Icon from "react-native-cryptocoins/Cryptocoin";
...
<Icon name="BTC" />

Get a list of all available icons

import { availableNames } from "react-native-cryptocoins/Cryptocoin";
// availableNames is a list of valid Icon names

FAQs

Package last updated on 27 Jan 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts