@atlrdsgn/kit
Version:
An ever–expanding library of React components, primitives, and tools
32 lines (31 loc) • 1.35 kB
TypeScript
import { CardHeadingLevels, CardHeaderVariantProps, CardShadowVariants } from './card.css';
import { default as React } from 'react';
interface CardInterfaceProps {
className?: string;
children?: React.ReactNode;
shadow?: CardShadowVariants;
}
export type CardProps = CardInterfaceProps & React.HTMLAttributes<HTMLDivElement>;
declare const CardContent: React.ForwardRefExoticComponent<{
className?: string | undefined;
children?: React.ReactNode;
shadow?: "none" | "sm" | "md" | "lg" | undefined;
} & React.HTMLAttributes<HTMLDivElement> & {
shadow?: "none" | "sm" | "md" | "lg" | undefined;
} & React.RefAttributes<HTMLDivElement>>;
/** ----------------------------- */
export type CardHeaderProps = CardInterfaceProps & CardHeaderVariantProps & {
level?: CardHeadingLevels;
} & React.HTMLAttributes<HTMLHeadingElement>;
declare const CardHeader: React.ForwardRefExoticComponent<CardInterfaceProps & {
level?: "H1" | "H2" | "H3" | "H4" | "H5" | "H6" | undefined;
} & {
level?: "H1" | "H2" | "H3" | "H4" | "H5" | "H6" | undefined;
} & React.HTMLAttributes<HTMLHeadingElement> & React.RefAttributes<HTMLHeadingElement>>;
/** ---------------------- */
export declare const Card: React.FC<CardProps> & {
Content: typeof CardContent;
Header: typeof CardHeader;
};
export {};
//# sourceMappingURL=card.d.ts.map