Adding notes app in React Native

This commit is contained in:
Christopher Sanden
2026-02-23 20:23:20 +01:00
commit 31e8ece40d
37 changed files with 13904 additions and 0 deletions

26
FastNotes/app/detail.tsx Normal file
View File

@@ -0,0 +1,26 @@
import { StyleSheet, Text, View } from "react-native";
import { useLocalSearchParams } from "expo-router";
export default function DetailScreen()
{
const { title, content } = useLocalSearchParams<
{
title?: string;
content?: string;
}>();
return(
<View style={styles.container}>
<Text style={styles.title}>{title ?? "(No title)"}</Text>
<Text style={styles.content}>{content ?? ""}</Text>
</View>
);
}
const styles = StyleSheet.create(
{
container: { flex: 1, padding: 16, gap: 12 },
title: { fontSize: 22, fontWeight:"700" },
content: { fontSize: 16 }
});