UNPKG

vdk-components

Version:

React component library built with TypeScript and SCSS

33 lines (32 loc) 675 B
import React from 'react'; export interface CardProps { /** * Card title */ title: string; /** * Card content */ children: React.ReactNode; /** * Optional image URL */ imageUrl?: string; /** * Card variant */ variant?: 'default' | 'elevated' | 'outlined' | 'gradient' | 'dark' | 'interactive' | 'bordered' | 'compact'; /** * Optional footer content */ footer?: React.ReactNode; /** * Optional click handler */ onClick?: () => void; /** * Optional className for custom styling */ className?: string; } export declare const Card: React.FC<CardProps>;