import { ReactNode } from "react"; import { View, Text } from "react-native"; import { useAppSelector } from "@/store/hooks"; import { selectIsMobile } from "@/store/screen/screenSizeSlice"; interface InfoRowProps { label: string; value: string | ReactNode; } export const InfoRow = ({ label, value }: InfoRowProps) => { const isMobile = useAppSelector(selectIsMobile); return ( {label}: {value || "-"} ); };