UNPKG

@youwen/ai-design-system

Version:

Enterprise AI-driven design system with comprehensive design tokens

17 lines (16 loc) 1.45 kB
import * as React from "react"; import { type VariantProps } from "class-variance-authority"; declare const cardVariants: (props?: ({ variant?: "default" | "outlined" | "elevated" | "flat" | null | undefined; padding?: "default" | "sm" | "lg" | "none" | null | undefined; } & import("class-variance-authority/types").ClassProp) | undefined) => string; export interface CardProps extends React.HTMLAttributes<HTMLDivElement>, VariantProps<typeof cardVariants> { variant?: "default" | "outlined" | "elevated" | "flat" | null | undefined; } declare const Card: React.ForwardRefExoticComponent<CardProps & React.RefAttributes<HTMLDivElement>>; declare const CardHeader: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>; declare const CardTitle: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLHeadingElement> & React.RefAttributes<HTMLParagraphElement>>; declare const CardDescription: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLParagraphElement> & React.RefAttributes<HTMLParagraphElement>>; declare const CardContent: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>; declare const CardFooter: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>; export { Card, CardHeader, CardFooter, CardTitle, CardDescription, CardContent, cardVariants };