1.4.10 • Published 6 years ago

react-native-autoicon v1.4.10

Weekly downloads
2
License
MIT
Repository
-
Last release
6 years ago

#react-native-autoicon

Automatic icon resizing for ReactNative. Create an icon in the root folder of your ReactNative project and use ReactNative-icon to automatically resize and copy it for all the platforms your project supports (currenty works with iOS).

this project inspired by cordova-icon thanks for alex101

Installation

$ brew install imagemagick
$ sudo npm install react-native-autoicon -g

Usage

Create an icon.png file in the root folder of your ReactNative project.

Then run:

$ autoicon

# if your projectname not package.json name you can add params

$ autoicon --name 'your project name'

# if your iconname not icon.png you can add params

$ autoicon --icon 'your icon name'