UNPKG

stofli-ui

Version:

Biblioteca moderna de componentes UI para React con Tailwind CSS y Framer Motion

33 lines (30 loc) 948 B
import React from 'react'; interface CardProps { title?: string; description?: string; children?: React.ReactNode; className?: string; variant?: "default" | "primary" | "secondary" | "success" | "warning" | "danger"; radius?: "none" | "sm" | "md" | "full"; hover?: "none" | "lift" | "glow" | "scale"; animation?: "none" | "fade" | "slide" | "bounce"; interactive?: boolean; footer?: React.ReactNode; header?: React.ReactNode; image?: string; loading?: "eager" | "lazy"; contentClassName?: string; titleClassName?: string; descriptionClassName?: string; imageClassName?: string; headerClassName?: string; footerClassName?: string; ariaLabel?: string; imageAlt?: string; onClick?: () => void; onKeyDown?: (e: React.KeyboardEvent) => void; role?: string; } declare const Card: React.FC<CardProps>; export { Card as default }; export type { CardProps };