UNPKG

@expo/vector-icons

Version:

Built-in support for 10 popular icon fonts and the tooling to create your own Icon components from your font and glyph map. This is a wrapper around react-native-vector-icons to make it compatible with Expo.

5 lines (3 loc) 214 B
import glyphMap from './vendor/react-native-vector-icons/glyphmaps/Octicons.json'; import createIconSet from './createIconSet'; export default createIconSet(glyphMap, 'octicons', require('./fonts/Octicons.ttf'));