1 | import { createFA5iconSet } from './createIconSetFromFontAwesome5';
|
2 |
|
3 | import glyphMap from './vendor/react-native-vector-icons/glyphmaps/FontAwesome5Free.json';
|
4 | import metadata from './vendor/react-native-vector-icons/glyphmaps/FontAwesome5Free_meta.json';
|
5 | const fontMap = {
|
6 | Regular: require('./vendor/react-native-vector-icons/Fonts/FontAwesome5_Regular.ttf'),
|
7 | Light: require('./vendor/react-native-vector-icons/Fonts/FontAwesome5_Regular.ttf'),
|
8 | Solid: require('./vendor/react-native-vector-icons/Fonts/FontAwesome5_Solid.ttf'),
|
9 | Brand: require('./vendor/react-native-vector-icons/Fonts/FontAwesome5_Brands.ttf'),
|
10 | };
|
11 |
|
12 | export const FA5Style = {
|
13 | regular: 'regular',
|
14 | light: 'light',
|
15 | solid: 'solid',
|
16 | brand: 'brand',
|
17 | };
|
18 |
|
19 | const iconSet = createFA5iconSet(glyphMap, metadata, fontMap, false);
|
20 |
|
21 | export default iconSet;
|