mirror of
https://github.com/zhigang1992/react-native-vector-icons.git
synced 2026-01-12 22:51:07 +08:00
* Add support for Feather icons * Fix a small bug in the Feather.js icon set generation * Fix permissions of Feather.ttf * Fix the Feather font family and name * Add typings for the Feather module * Revert "Add support for Feather icons" This reverts commit 372006e766924ef50ee22b8d362c5762cf1db691. * Add dependency feather-icons * Add support for Feather icons * Add the Feather icons to the icon index * Update README to include Feather icons
19 lines
544 B
JavaScript
19 lines
544 B
JavaScript
/**
|
|
* Feather icon set component.
|
|
* Usage: <Feather name="icon-name" size={20} color="#4F8EF7" />
|
|
*/
|
|
|
|
import createIconSet from './lib/create-icon-set';
|
|
import glyphMap from './glyphmaps/Feather.json';
|
|
|
|
const iconSet = createIconSet(glyphMap, 'Feather', 'Feather.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;
|
|
|