Skip to content

Latest commit

 

History

History
38 lines (22 loc) · 1.33 KB

GettingStarted.md

File metadata and controls

38 lines (22 loc) · 1.33 KB

Getting Started

$ yarn add react-native-material-ui

** If you already use react-native-vector-icons in your project you are ready to go!**

Setting of vector icons

You can see this repo for much more information.

React Native Link (recommended)

Make sure you have atleast v0.31.0 react-native version.

$ react-native link react-native-vector-icons

Manual Installation

Android (see original)

Copy the MaterialIcons font file from react-native-vector-icons to your local working directory:

./node_modules/react-native-vector-icons/Fonts/MaterialIcons.ttf -> ./android/app/src/main/assets/fonts.

iOS (see original)

Adding Roboto Font

This project uses Roboto as the main font for text. Make sure to add Roboto to your project, as it will give the following error on iOS. Unrecognized font family Roboto.

You can obtain Roboto free from here.

Here is a great tutorial which shows how to add custom fonts.