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.

10 lines (8 loc) 247 B
import glyphMap from './vendor/react-native-vector-icons/glyphmaps/SimpleLineIcons.json'; import createIconSet from './createIconSet'; export default createIconSet( glyphMap, 'simple-line-icons', require('./fonts/SimpleLineIcons.ttf') );