import Styles from "@/constants/Styles"; import { Pressable, Text, View } from "react-native"; type Props = { title: string subtitle?: string icon: React.ReactNode desc?: string rightTopInfo?: string onPress?: () => void borderType: 'all' | 'bottom' } export default function BorderBottomItem({ title, subtitle, icon, desc, onPress, rightTopInfo, borderType }: Props) { return ( {icon} {title} {subtitle && {subtitle}} { rightTopInfo && {rightTopInfo} } {desc && {desc}} ) }