sahilquo / Learning-ReactNative

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Learning-ReactNative

Commands Used

  • Create New Project:

    npx react-native init <Project Name>

  • Start React Native Project for running

    yarn start

  • Run Android app

    yarn android

  • Use Icons in the app (Reference)

    npm install react-native-vector-icons --save

    react-native link react-native-vector-icons

  • Use Custom Font in the app (Reference)

    1. Create a file named react-native.config.js in the root folder of your project.
    2. Add this in that new file
    module.exports = {
      project: {
          ios: {},
          android: {},
      },
      assets: ['./assets/fonts']
    };
    
    1. Run this command npx react-native link
  • Install React Navigation Library (Reference)

npm install @react-navigation/native

npm install react-native-screens react-native-safe-area-context

React Navigation - Stack npm install @react-navigation/native-stack

About


Languages

Language:JavaScript 42.7%Language:Java 27.5%Language:Objective-C 19.7%Language:Starlark 6.5%Language:Ruby 3.7%