@expo/vector-icons
Version:
Built-in support for 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.
17 lines (13 loc) • 371 B
JavaScript
/**
* Entypo icon set component.
* Usage: <Entypo name="icon-name" size={20} color="#4F8EF7" />
*/
import createIconSet from './lib/create-icon-set';
import glyphMap from './glyphmaps/Entypo.json';
const iconSet = createIconSet(glyphMap, 'Entypo', 'Entypo.ttf');
export default iconSet;
export const {
Button,
getImageSource,
getImageSourceSync,
} = iconSet;