The import in the template should not be relative (#316)

This commit is contained in:
Maxim Geerinck
2016-10-11 09:32:26 +02:00
committed by Joel Arvidsson
parent 4213bf3453
commit d84bd5fed0

View File

@@ -3,7 +3,7 @@
* Usage: <${componentName} name="icon-name" size={20} color="#4F8EF7" />
*/
import createIconSet from './lib/create-icon-set';
import createIconSet from 'react-native-vector-icons/lib/create-icon-set';
const glyphMap = ${glyphMap};
let ${componentName} = createIconSet(glyphMap, '${fontFamily}', '${componentName}.ttf');