react-native-vector-icons
Version:
Customizable Icons for React Native with support for NavBar/TabBar, image source and full styling.
24 lines (18 loc) • 765 B
JavaScript
/**
* FontAwesome6Pro icon set component.
* Usage: <FontAwesome6Pro name="icon-name" size={20} color="#4F8EF7" />
*/
import { createFA6iconSet } from './lib/create-icon-set-from-fontawesome6';
import glyphMap from './glyphmaps/FontAwesome6Pro.json';
import metadata from './glyphmaps/FontAwesome6Pro_meta.json';
export { FA6Style } from './lib/create-icon-set-from-fontawesome6';
/**
* @deprecated react-native-vector-icons package has moved to a new model of per-icon-family packages. See the https://github.com/oblador/react-native-vector-icons/blob/master/MIGRATION.md on how to migrate
*/
const iconSet = createFA6iconSet(glyphMap, metadata, true);
export default iconSet;
export const {
Button,
getImageSource,
getImageSourceSync,
} = iconSet;