JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 42
  • Score
    100M100P100Q61261F

File Folder Icons for React Native

Package Exports

  • react-native-ico-file-folder
  • react-native-ico-file-folder/src/data/file-folder

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (react-native-ico-file-folder) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

react-native-ico-file-folder

File Folder Icons for React Native

220 Icons

Usage

import Icon from 'react-native-ico-file-folder';


// Inside some view component
render() {
    return (
        <Fragment>
          <Icon name="home" />
          <Icon name="file" height="40" width="40" />
          <Icon name="smile" color="red" />
        </Fragment>
    );
}

Installation

yarn

yarn add react-native-ico-file-folder react-native-svg

npm

npm install --save react-native-ico-file-folder react-native-svg
react-native link react-native-svg

pod install ( for iOS )

cd ios && pod install && cd ..

API

<Icon name [color width height ...rest] />

Returns a SvgXml icon by name and group.

name optional default value description examples
name no name of file "home"
color yes line color, css style "#00ff00", "#0f0", "green"
width yes 20 width of the icon 40
height yes 20 height of the icon 40
...rest no other props style={{backgroundColor: "#00f"}}

List of icons

Icons Made by

Dave Gandy

Created by

Dimitry Ivanov 2@ivanoff.org.ua # curl -A cv ivanoff.org.ua