dgz-ui
Version:
Custom ui library using React.js, Shadcn/ui, TailwindCSS, Typescript
39 lines • 1.95 kB
TypeScript
import * as React from 'react';
/**
* CardProps - Native div attributes for the Card container.
* @property {string} [className] - Additional CSS classes to apply to the card.
* @property {React.ReactNode} [children] - The content of the card.
*/
export type CardProps = React.HTMLAttributes<HTMLDivElement>;
/**
* Card - A surface component to group related content.
* @returns {JSX.Element} The rendered Card component.
*/
declare const Card: React.ForwardRefExoticComponent<CardProps & React.RefAttributes<HTMLDivElement>>;
/**
* CardHeader - Top section typically containing the title and actions.
* @returns {JSX.Element} The rendered CardHeader component.
*/
declare const CardHeader: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
/**
* CardTitle - Title area inside the header.
* @returns {JSX.Element} The rendered CardTitle component.
*/
declare const CardTitle: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
/**
* CardDescription - Secondary text under the title.
* @returns {JSX.Element} The rendered CardDescription component.
*/
declare const CardDescription: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLSpanElement> & React.RefAttributes<HTMLDivElement>>;
/**
* CardContent - Main content area of the card.
* @returns {JSX.Element} The rendered CardContent component.
*/
declare const CardContent: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
/**
* CardFooter - Bottom area for actions or summary.
* @returns {JSX.Element} The rendered CardFooter component.
*/
declare const CardFooter: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
export { Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, };
//# sourceMappingURL=card.d.ts.map