Files
spoon/apps/expo/src/components/ui/action-row.tsx
T
Gabriel Brown 42f95530de
Build and Push Next App / quality (push) Successful in 1m27s
Build and Push Next App / build-next (push) Successful in 3m58s
Update expo application
2026-06-22 12:13:02 -04:00

25 lines
669 B
TypeScript
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
import type { PressableProps } from 'react-native';
import { Pressable, Text, View } from 'react-native';
export const ActionRow = ({
detail,
label,
...props
}: PressableProps & {
detail?: string;
label: string;
}) => (
<Pressable
className='border-border min-h-14 flex-row items-center justify-between gap-3 border-b py-3'
{...props}
>
<View className='min-w-0 flex-1'>
<Text className='text-foreground font-medium'>{label}</Text>
{detail ? (
<Text className='text-muted-foreground mt-1 text-xs'>{detail}</Text>
) : null}
</View>
<Text className='text-muted-foreground text-lg'></Text>
</Pressable>
);