import { View, TouchableOpacity } from 'react-native'
interface CardProps {
children: React.ReactNode
onPress?: () => void
className?: string
}
export function Card({ children, onPress, className = '' }: CardProps) {
if (onPress) {
return (
{children}
)
}
return (
{children}
)
}