From a2411291b1a6b563d2f2a3f5f260aacc418c800f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hagen=20H=C3=BCbel?= Date: Mon, 19 Dec 2016 13:34:43 +0100 Subject: [PATCH] Updated readme --- README.md | 9 +++++++++ package.json | 2 +- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 031fa8d..dedefc7 100644 --- a/README.md +++ b/README.md @@ -54,6 +54,15 @@ export const iconSet = { ``` ## How to use: +Somewhere in your code (e.g. the root component), just register your Iconset: +``` +import {iconSet} from './iconSet'; +import Ikon from 'react-native-ikon'; + +Ikon.registerIconSet(iconSet); +``` + +In your render-functions: ``` ``` diff --git a/package.json b/package.json index 511c679..564be37 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "react-native-ikon", - "version": "0.0.1", + "version": "0.0.2", "description": "flexible IconSets for react-native", "main": "index.js", "repository": {