Skip to content

Commit

Permalink
Update README to clarify IcoMoon setup (oblador#253)
Browse files Browse the repository at this point in the history
To avoid issues similar to oblador#252 in the future.
  • Loading branch information
Jon Lay authored and oblador committed Jul 23, 2016
1 parent a174047 commit 4b71bba
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -299,6 +299,8 @@ import icoMoonConfig from './config.json';
const Icon = createIconSetFromIcoMoon(icoMoonConfig);
```

Make sure you're using the _Download_ option in IcoMoon, and use the `.json` file that's included in the `.zip` you've downloaded. You'll also need to import the `.ttf` font file into your project, following the instructions above.

## Animation

React Native comes with an amazing animation library called [`Animated`](http://facebook.github.io/react-native/docs/animated.html). To use it with an icon, simply create an animated component with this line: `const AnimatedIcon = Animated.createAnimatedComponent(Icon)`. You can also use the higher level animation library [react-native-animatable](https://github.com/oblador/react-native-animatable).
Expand Down

0 comments on commit 4b71bba

Please sign in to comment.