react-native-iconic-font
Advanced tools
Comparing version 0.0.4 to 0.0.5
{ | ||
"name": "react-native-iconic-font", | ||
"version": "0.0.4", | ||
"version": "0.0.5", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -24,3 +24,3 @@ # react-native-iconic-font | ||
``` | ||
var icon = require('react-native-iconic-font/font-awesome'); | ||
var icon = require('react-native-iconic-font/fontawesome'); | ||
@@ -31,4 +31,5 @@ ... | ||
render: function() { | ||
//FontFamily perproty value must same as font file name. | ||
return ( | ||
<Text style={{fontFamily: 'fontawesome',fontSize:30}}> | ||
<Text style={{fontFamily: 'fontawesome',fontSize:30}}> | ||
twitter-icon:{icon('twitter')} | ||
@@ -86,2 +87,2 @@ </Text> | ||
2015.11.24: | ||
* add material-design-icons | ||
* add material-design-icons |
86
761235
13
97