@navinc/base-react-components
Version:
Nav's Pattern Library
17 lines (16 loc) • 851 B
TypeScript
import { HTMLAttributes } from 'react';
declare const CardInternal: {
Root: import("react").ComponentType<import("react").DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>>;
Header: import("react").ForwardRefExoticComponent<{
hideDivider?: boolean;
} & HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<HTMLDivElement>>;
Content: import("react").ComponentType<import("react").DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>>;
Footer: import("react").ComponentType<import("react").DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>>;
};
export type CardType = typeof CardInternal.Root & {
Header: typeof CardInternal.Header;
Content: typeof CardInternal.Content;
Footer: typeof CardInternal.Footer;
};
export declare const Card: CardType;
export {};