UNPKG

@medalsocial/meda

Version:

Shared Meda UI shell and runtime package.

16 lines (15 loc) 925 B
import type { ComponentPropsWithoutRef } from 'react'; export type CardProps = ComponentPropsWithoutRef<'div'>; export type CardHeaderProps = ComponentPropsWithoutRef<'div'>; export type CardBodyProps = ComponentPropsWithoutRef<'div'>; export type CardFooterProps = ComponentPropsWithoutRef<'div'>; declare function CardRoot({ children, className, ...props }: CardProps): import("react/jsx-runtime").JSX.Element; declare function CardHeader({ children, className, ...props }: CardHeaderProps): import("react/jsx-runtime").JSX.Element; declare function CardBody({ children, className, ...props }: CardBodyProps): import("react/jsx-runtime").JSX.Element; declare function CardFooter({ children, className, ...props }: CardFooterProps): import("react/jsx-runtime").JSX.Element; export declare const Card: typeof CardRoot & { Header: typeof CardHeader; Body: typeof CardBody; Footer: typeof CardFooter; }; export {};