import { HNDesignsystemInfoTeaser } from '../../resources/Resources'; import { SvgIcon } from '../Icon'; import { IconName } from '../Icons/IconNames'; import { TitleTags } from '../Title'; export type InfoTeaserTags = 'div' | 'section' | 'aside' | 'article'; export interface InfoTeaserProps { /** For overriding styling on the button */ buttonClassName?: string; /** What's in the box? */ children: React.ReactNode; /** Override the default max height for collapsed teaser. Default is 12.25rem */ collapsedMaxHeight?: string; /** For overriding styling on infoteaser box */ className?: string; /** Changes the underlying element of the wrapper */ htmlMarkup?: InfoTeaserTags; /** Resources for component */ resources?: Partial; /** Adds an icon */ svgIcon?: SvgIcon | IconName; /** Sets the data-testid attribute */ testId?: string; /** Title on top of the component */ title: string; /** Markup props for title */ titleHtmlMarkup?: TitleTags; } declare const InfoTeaser: React.FC; export default InfoTeaser;