import React from "react";
import { View, type ViewProps } from "react-native";
import { cn } from "../utils/cn";
import { Text } from "./text";
export interface CardProps extends ViewProps {
className?: string;
children?: React.ReactNode;
}
/** Card container with border and shadow. Dark-mode aware. */
export function Card({ className, children, ...props }: CardProps) {
return (
{children}
);
}
export function CardHeader({ className, children, ...props }: CardProps) {
return (
{children}
);
}
export function CardContent({ className, children, ...props }: CardProps) {
return (
{children}
);
}
export function CardFooter({ className, children, ...props }: CardProps) {
return (
{children}
);
}
export interface CardTitleProps {
className?: string;
children?: React.ReactNode;
}
export function CardTitle({ className, children }: CardTitleProps) {
return (
{children}
);
}
export interface CardDescriptionProps {
className?: string;
children?: React.ReactNode;
}
export function CardDescription({ className, children }: CardDescriptionProps) {
return (
{children}
);
}