UNPKG

@react-native-vector-icons/simple-line-icons

Version:

Simple Line Icons font for react native vector icons

26 lines (19 loc) 927 B
'use client'; /** * This is a generated file. If you modify it manually, your changes will be lost! * This file was generated from packages/generator-react-native-vector-icons/src/app/templates * If you're contributing to react-native-vector-icons, make the change there; otherwise it'll be lost * * SimpleLineIcons icon set component. * Usage: <SimpleLineIcons name="icon-name" size={20} color="#4F8EF7" /> */ import { createIconSet } from '@react-native-vector-icons/common'; import glyphMap from '../glyphmaps/SimpleLineIcons.json'; export const SimpleLineIcons = createIconSet(glyphMap, { postScriptName: 'simple-line-icons', fontFileName: 'SimpleLineIcons.ttf', fontSource: require('../fonts/SimpleLineIcons.ttf'), // eslint-disable-line @typescript-eslint/no-require-imports, global-require }); export type SimpleLineIconsIconName = keyof typeof glyphMap; /** @alias */ export default SimpleLineIcons;