react-native-ico-baloons

1.2.1 • Public • Published

react-native-ico-baloons

Baloons Icons for React Native

3 Icons

Usage

import Icon from 'react-native-ico-baloons';


// 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-baloons react-native-svg

npm

npm install --save react-native-ico-baloons react-native-svg

Link 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

Package Sidebar

Install

npm i react-native-ico-baloons

Weekly Downloads

2

Version

1.2.1

License

none

Unpacked Size

13.6 kB

Total Files

8

Last publish

Collaborators

  • ivanoff