how to get % in react native code example Example 1: react native install npm install -g react-native-cli Example 2: start react native react-native start