import * as React from 'react'; import { Pressable, Text, View } from '@/components/ui'; import { ArrowRight } from '@/components/ui/icons'; import type { TxKeyPath } from '@/lib'; type ItemProps = { text: TxKeyPath; value?: string; onPress?: () => void; icon?: React.ReactNode; }; export const Item = ({ text, value, icon, onPress }: ItemProps) => { const isPressable = onPress !== undefined; return ( {icon && {icon}} {text} {value} {isPressable && ( )} ); };