import { PolymorphicProps } from "@gnist/component-utils"; import { AnchorHTMLAttributes, ButtonHTMLAttributes, ElementType, HTMLAttributes } from "react"; import { DensitySizes } from "../../../foundation/typography/index.js"; export type CardBaseProps = PolymorphicProps & { /** * Density of the card * @default default */ density?: DensitySizes; /** * Loading state of the card */ isLoading?: boolean; }; export type InfoCardProps = CardBaseProps & HTMLAttributes & { /** * Transparent background, mainly used for InfoCards */ transparent?: boolean | undefined; }; export type LinkCardProps = CardBaseProps & AnchorHTMLAttributes; export type ActionCardProps = CardBaseProps & ButtonHTMLAttributes; //# sourceMappingURL=CardProps.d.ts.map