import Styles from "@/constants/Styles"; import { useTheme } from "@/providers/ThemeProvider"; import { Feather, Ionicons } from "@expo/vector-icons"; import { Pressable, View } from "react-native"; import Text from "./Text"; type Props = { title: string user: string date: string onPress: () => void } export default function DiscussionItem({ title, user, date, onPress }: Props) { const { colors } = useTheme(); return ( {title} {user} {date} ) }