import { StyleSheet, Text, View, type StyleProp, type ViewProps, type ViewStyle } from "react-native"; import { GlassSurface } from "@/components/GlassSurface"; import { useAppTheme } from "@/contexts/ThemeContext"; import { fonts, spacing } from "@/constants/theme"; import { radius } from "@/lib/beenvoice-theme"; type CardProps = ViewProps & { title?: string; style?: StyleProp; variant?: "card" | "stat"; }; export function Card({ title, style, children, variant = "card", ...props }: CardProps) { const { colors } = useAppTheme(); return ( {title ? {title} : null} {children} ); } const styles = StyleSheet.create({ inner: { paddingHorizontal: 20, paddingVertical: spacing.md, gap: spacing.sm, }, title: { fontSize: 15, fontFamily: fonts.bodySemiBold, }, });