how to exit project in react native code example
Example: close exit app react native
import React, { BackHandler } from 'react-native';
BackHandler.exitApp();
import React, { BackHandler } from 'react-native';
BackHandler.exitApp();