import { ComponentPropsWithoutRef } from 'react'; import { ValuesOf } from '../utils/typeUtils'; import { SKIN } from './ClickableCard.constants'; export type ClickableCardProps = { /** Accepts any node as a child element. */ children?: React.ReactNode; /** Applies a data-hook HTML attribute that can be used in the tests. */ dataHook?: string; /** Specifies the skin of a card. * @default standard */ skin?: ClickableCardSkin; /** Applies padding to the card. * @default true */ hasPadding?: boolean; /** Specifies whether user interactions are disabled. * @default false */ disabled?: boolean; /** Defines whether the card is rendered as an anchor or a button. * @default button */ as?: T; } & ComponentPropsWithoutRef; export type ClickableCardSkin = ValuesOf; //# sourceMappingURL=ClickableCard.types.d.ts.map