UNPKG

@mattilsynet/designsystem-svelte

Version:

Design system for Mattilsynet

20 lines (19 loc) 627 B
import type { Snippet } from 'svelte'; type HighlightedContentDisplayType = 'normal' | 'cta' | 'campaign' | 'blue' | 'white'; interface Props { href?: string; class?: string; image?: { src: string; alt: string | undefined; }; title?: string; shortTitle?: string; displayType?: HighlightedContentDisplayType; headingClass?: string; headerTag?: 'h2' | 'h3'; children?: Snippet; } declare const HighlightedContentLink: import("svelte").Component<Props, {}, "">; type HighlightedContentLink = ReturnType<typeof HighlightedContentLink>; export default HighlightedContentLink;