import { Text } from '@/components/ui/text';
import { View } from '@/components/ui/view';
import { useColor } from '@/hooks/useColor';
import { BORDER_RADIUS } from '@/theme/globals';
import { TextStyle, ViewStyle } from 'react-native';
interface CardProps {
children: React.ReactNode;
style?: ViewStyle;
}
export function Card({ children, style }: CardProps) {
const cardColor = useColor('card');
const foregroundColor = useColor('foreground');
return (
{children}
);
}
interface CardHeaderProps {
children: React.ReactNode;
style?: ViewStyle;
}
export function CardHeader({ children, style }: CardHeaderProps) {
return {children};
}
interface CardTitleProps {
children: React.ReactNode;
style?: TextStyle;
}
export function CardTitle({ children, style }: CardTitleProps) {
return (
{children}
);
}
interface CardDescriptionProps {
children: React.ReactNode;
style?: TextStyle;
}
export function CardDescription({ children, style }: CardDescriptionProps) {
return (
{children}
);
}
interface CardContentProps {
children: React.ReactNode;
style?: ViewStyle;
}
export function CardContent({ children, style }: CardContentProps) {
return {children};
}
interface CardFooterProps {
children: React.ReactNode;
style?: ViewStyle;
}
export function CardFooter({ children, style }: CardFooterProps) {
return (
{children}
);
}