@stihl-design-system/components
Version:
Welcome to the STIHL Design System react component library.
11 lines (10 loc) • 532 B
TypeScript
import { HeadingSize, HeadingTag } from '../Heading/Heading.utils';
import { LinkCardProps } from './LinkCard';
export type CardHeading = string | {
headingText: string;
headingSize?: HeadingSize;
headingTag?: HeadingTag;
};
type ValidationProps = Pick<LinkCardProps, 'href' | 'linkComponent' | 'flags' | 'flagListAriaLabel' | 'heading' | 'img' | 'brandFlag'>;
export declare const validateLinkCardProps: ({ href, linkComponent, flags, flagListAriaLabel, heading, img, brandFlag, }: ValidationProps) => void;
export {};