Introducing Socket Firewall: Free, Proactive Protection for Your Software Supply Chain.Learn More
Socket
Book a DemoInstallSign in
Socket

react-native-simple-icons-org

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-simple-icons-org

React Native component for SimpleIcons.org

latest
npmnpm
Version
0.1.2
Version published
Maintainers
1
Created
Source

Simple Icons React Component

React component for icons from SimpleIcons.org

Install

$ npm install simple-icons-react-component

or

$ yarn add simple-icons-react-component

Usage

import SimpleIcons from 'simple-icons-react-component';

function ReactIcon() {
  return <SimpleIcons name="React" />;
}

function BlackReactIcon() {
  return <SimpleIcons name="React" color="black" />;
}

Props

  • name(required) : The name of icons shown at SimpleIcons.org. The name has to be matched exactly and it is case-sensitive. Otherwise, it will return null.
  • color(optional) : Color of an icon. It needs to be valid for CSS color. If it is not set, it will fall back to the default color.

Keywords

react

FAQs

Package last updated on 29 Dec 2019

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