Created
June 3, 2019 09:04
-
-
Save EmaSuriano/4321a40f29874a020e1707f91f2591a6 to your computer and use it in GitHub Desktop.
Icon component that uses react-native-vector-icons to load a custom font along with the glyph map
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import customFontGlyph from '../../assets/font/custom-font-icon.json'; | |
import { createIconSet } from 'react-native-vector-icons'; | |
export default createIconSet(customFontGlyph, 'custom-font-icon', 'custom-font-icon.ttf'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment