import { View, Text } from '@tarojs/components' interface CellRowProps { title: string subtitle?: string extra?: string statusText?: string statusColor?: string showArrow?: boolean onClick?: () => void } export default function CellRow({ title, subtitle, extra, statusText, statusColor, showArrow = true, onClick, }: CellRowProps) { return ( {title} {statusText && ( {statusText} )} {subtitle && ( {subtitle} )} {extra && {extra}} {showArrow && } ) }