UNPKG

@easy-shadcn/react

Version:

Use shadcn/ui easy&enhance like component library

25 lines (21 loc) 1.56 kB
import * as React from 'react'; import React__default, { ReactNode } from 'react'; declare const Card$1: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & 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>>; interface CardProps extends Omit<React__default.ComponentProps<typeof Card$1>, 'title' | 'content'> { headerProps?: React__default.ComponentProps<typeof CardHeader>; title?: ReactNode; titleProps?: React__default.ComponentProps<typeof CardTitle>; description?: ReactNode; descriptionProps?: React__default.ComponentProps<typeof CardDescription>; content?: ReactNode; contentProps?: React__default.ComponentProps<typeof CardContent>; footer?: ReactNode; footerProps?: React__default.ComponentProps<typeof CardFooter>; } declare const Card: React__default.FC<CardProps>; export { Card, type CardProps };