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) 633 B
/** * SimpleLineIcons icon set component. * Usage: <SimpleLineIcons name="icon-name" size={20} color="#4F8EF7" /> */ import createIconSet from './lib/create-icon-set'; import glyphMap from './glyphmaps/SimpleLineIcons.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, 'simple-line-icons', 'SimpleLineIcons.ttf'); export default iconSet; export const { Button, getImageSource, getImageSourceSync, } = iconSet;