mirror of
https://github.com/zhigang1992/react-native-vector-icons.git
synced 2026-01-12 22:51:07 +08:00
The import in the template should not be relative (#316)
This commit is contained in:
committed by
Joel Arvidsson
parent
4213bf3453
commit
d84bd5fed0
@@ -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');
|
||||
|
||||
Reference in New Issue
Block a user