HoshiAI-app/components/ui/not-found.tsx
2026-01-01 17:46:58 +01:00

24 lines
428 B
TypeScript

import { StyleSheet, View } from "react-native";
import { ThemedText } from "./themed-text";
interface NotFoundProps {
text?: string;
}
const NotFound = ({text = "Not Found"}: NotFoundProps) => {
return (
<View style={styles.notFound}>
<ThemedText>{text}</ThemedText>
</View>
)
}
const styles = StyleSheet.create({
notFound: {
padding: 15,
textAlign: "center"
},
});
export default NotFound;