1.0.4 • Published 1 year ago

@edvnz/native-icons v1.0.4

Weekly downloads
-
License
ISC
Repository
-
Last release
1 year ago

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 nameTypeDescription
namestringname of the icon
widthstringwidth of the icon
heightstringheight of the icon
colorstringcolor 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