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.

9 lines (7 loc) 260 B
import glyphMap from './vendor/react-native-vector-icons/glyphmaps/MaterialCommunityIcons.json'; import createIconSet from './createIconSet'; export default createIconSet( glyphMap, 'material-community', require('./fonts/MaterialCommunityIcons.ttf') );