packages/fontello/README.md
React Native Vector Icons font package to support using custom fonts created with Fontello
See the React Native Vector Icons README for more details.
npm install @react-native-vector-icons/fontello
rnvi-fonts/fontello. You can customise this location as described in react-native-vector-iconspnpm install @react-native-vector-icons/fontello
import createIconSet from '@react-native-vector-icons/fontello';
import fontelloConfig from './config.json';
const Icon = createIconSet(fontelloConfig);
const icon = <Icon name="comments" />;
If you want to customise the font postscript name and filename you can pass extra arguments.
import createIconSet from "@react-native-vector-icons/fontello";
import fontelloConfig from "./config.json";
const Icon = createIconSet(fontelloConfig, "Font Family", "FontFamily.ttf");
See the contributing guide to learn how to contribute to the repository and the development workflow.
MIT