GT2/GT2-Android/node_modules/react-native-vector-icons/templates/separated-icon-set.tpl

18 lines
585 B
Smarty
Raw Normal View History

/**
* ${componentName} icon set component.
* Usage: <${componentName} name="icon-name" size={20} color="#4F8EF7" />
*/
import createIconSet from './lib/create-icon-set';
import glyphMap from './glyphmaps/${componentName}.json';
const iconSet = createIconSet(glyphMap, '${fontFamily}', '${componentName}.ttf');
export default iconSet;
export const Button = iconSet.Button;
export const TabBarItem = iconSet.TabBarItem;
export const TabBarItemIOS = iconSet.TabBarItemIOS;
export const ToolbarAndroid = iconSet.ToolbarAndroid;
export const getImageSource = iconSet.getImageSource;