1.2.1 • Published 4 years ago

react-native-ico-baloons v1.2.1

Weekly downloads
5
License
-
Repository
github
Last release
4 years ago

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.

nameoptionaldefault valuedescriptionexamples
namenoname of file"home"
coloryesline color, css style"#00ff00", "#0f0", "green"
widthyes20width of the icon40
heightyes20height of the icon40
...restnoother propsstyle={{backgroundColor: "#00f"}}

List of icons

Icons Made by

Dave Gandy

Created by

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