react-native-finish-app
v0.3.0
Published
React Native Package to kill and exit the application
Maintainers
Readme
react-native-finish-app
React Native Package to kill and exit the application
Installation
npm install react-native-finish-appUsage
import { View, StyleSheet, Button } from "react-native";
import RNFinishApp from "react-native-finish-app";
export default function App() {
return (
<View style={styles.container}>
<Button title="Exit App" onPress={() => RNFinishApp.exitApp(false)} />
</View>
);
};
const styles = StyleSheet.create({
container: {
flex: 1,
alignItems: "center",
justifyContent: "center"
}
});Contributing
See the contributing guide to learn how to contribute to the repository and the development workflow.
License
MIT
Made with create-react-native-library
