Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

@edvnz/native-icons

yokesh_ks7ISC1.0.4

Edvnz native-icons are a wonderful collection of icons. It builds Icon Components from SVG icons in order to display, resize, and recolor them.

edvnz, native-icons, EDVANZA, Icon

readme

Edvnz Icons

Edvnz native-icons are a wonderful collection of icons. It builds Icon Components from SVG icons in order to display, resize, and recolor them. It simplifies the use of the Icon Component in your React and React-Native applications.

Installation

$ npm install @edvnz/native-icons
# or
$ yarn add @edvnz/native-icons

Features

  • Works in React and React Native

Props

Prop name Type Description
name string name of the icon
width string width of the icon
height string height of the icon
color string color of the icon

Usage

import React, { useContext } from "react";
import { Icon } from "@edvnz/native-icons";

export const HomeScreen = () => {
  return (
    <div>
        <Icon name="Alarm" width={40} height={40} color="#fff" />
    </div>
  )
}

Screenshots

Icons Screenshot