UNPKG

react-native-vector-icons

Version:

Customizable Icons for React Native with support for NavBar/TabBar, image source and full styling.

20 lines (16 loc) 665 B
/** * MaterialCommunityIcons icon set component. * Usage: <MaterialCommunityIcons name="icon-name" size={20} color="#4F8EF7" /> */ import createIconSet from './lib/create-icon-set'; import glyphMap from './glyphmaps/MaterialCommunityIcons.json'; /** * @deprecated react-native-vector-icons package has moved to a new model of per-icon-family packages. See the https://github.com/oblador/react-native-vector-icons/blob/master/MIGRATION.md on how to migrate */ const iconSet = createIconSet(glyphMap, 'Material Design Icons', 'MaterialCommunityIcons.ttf'); export default iconSet; export const { Button, getImageSource, getImageSourceSync, } = iconSet;