From 31c2208c2e4fe5cccc15cd80954ba6ee6d2cfa0e Mon Sep 17 00:00:00 2001 From: mudabbir-ahmad Date: Wed, 3 Dec 2025 20:50:36 +0000 Subject: [PATCH] Added template.js file, makes it easier to create new components --- Template.js | 17 +++++++++++++++++ src/components/UI/Button.js | 17 +++++++++++++++++ 2 files changed, 34 insertions(+) create mode 100644 Template.js create mode 100644 src/components/UI/Button.js diff --git a/Template.js b/Template.js new file mode 100644 index 0000000..5c8c442 --- /dev/null +++ b/Template.js @@ -0,0 +1,17 @@ +import { Pressable, ScrollView, StyleSheet, Text, View } from "react-native"; + +const Component = () => { + + // Initialisation ------------- + // State ---------------------- + // Handlers ------------------- + // View ----------------------- + + return ( + ; +); +}; + +const styles = StyleSheet.create({}); + +export default Component; \ No newline at end of file diff --git a/src/components/UI/Button.js b/src/components/UI/Button.js new file mode 100644 index 0000000..e68de01 --- /dev/null +++ b/src/components/UI/Button.js @@ -0,0 +1,17 @@ +import { Pressable, ScrollView, StyleSheet, Text, View } from "react-native"; + +const Component = () => { + + // Initialisation ------------- + // State ---------------------- + // Handlers ------------------- + // View ----------------------- + + return ( + + ); +}; + +const styles = StyleSheet.create({}); + +export default Component; \ No newline at end of file