UNPKG

@react-native-vector-icons/material-design-icons

Version:

Material Design Icons font for react native vector icons

22 lines (17 loc) 908 B
// NOTE: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 /** * This is a generated file. If you modify it manually, your changes will be lost! * Instead, modify the template in `generator-react-native-vector-icons`. * * MaterialDesignIcons icon set component. * Usage: <MaterialDesignIcons name="icon-name" size={20} color="#4F8EF7" /> */ import { createIconSet } from '@react-native-vector-icons/common'; import glyphMap from '../glyphmaps/MaterialDesignIcons.json'; const Icon = createIconSet(glyphMap, { postScriptName: 'MaterialDesignIcons', fontFileName: 'MaterialDesignIcons.ttf', fontSource: require('../fonts/MaterialDesignIcons.ttf'), // eslint-disable-line @typescript-eslint/no-require-imports, global-require }); export default Icon;