import React from 'react'; import { StyleSheet, ViewProps, Platform, DimensionValue } from 'react-native'; import { ThemedView } from '@/components/theme'; import { Colors } from '@/constants/Colors'; import { useColorScheme } from '@/hooks/useColorScheme'; type ThemedCardProps = ViewProps & { width?: DimensionValue; height?: DimensionValue; padding?: number; elevation?: number; borderRadius?: number; }; const ThemedCard: React.FC = ({ width = '100%', height, padding = 16, elevation = 3, borderRadius = 12, style, children, ...restProps }) => { const scheme = useColorScheme() ?? 'dark'; return ( {children} ); }; const styles = StyleSheet.create({ card: { overflow: 'hidden', }, }); export default ThemedCard;