Skip to content

Commit

Permalink
Updated readme
Browse files Browse the repository at this point in the history
  • Loading branch information
itinance committed Dec 19, 2016
1 parent a2a1fe1 commit a241129
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:
```
<Ikon name="lessons.openLesson" />
```
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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": {
Expand Down

0 comments on commit a241129

Please sign in to comment.