import { TooltipCommonProps } from '../common'; import { TooltipProps } from '../Tooltip'; export interface GooglePreviewProps { /** Applies a data-hook HTML attribute to be used in the tests. */ dataHook?: string; /** Sets a short description for the page. */ description?: string; /** Truncates description text at a specific number of lines. * @default 2 */ descriptionMaxLines?: number; /** Specifies an URL link to favicon source. If not provided, a fallback favicon is displayed. */ favicon?: string; /** Callback function triggered when description is clicked. */ onDescriptionClick?: React.MouseEventHandler; /** Defines a callback function which is called when cursor enters the description. */ onDescriptionMouseEnter?: React.MouseEventHandler; /** Defines a callback function which is called when cursor leaves the description. */ onDescriptionMouseLeave?: React.MouseEventHandler; /** Callback function triggered when title is clicked. */ onTitleClick?: React.MouseEventHandler; /** Defines a callback function which is called when cursor enters the title. */ onTitleMouseEnter?: React.MouseEventHandler; /** Defines a callback function which is called when cursor leaves the title. */ onTitleMouseLeave?: React.MouseEventHandler; /** Callback function triggered when website info section (favicon, site name and preview URL) is clicked. */ onWebsiteInfoClick?: React.MouseEventHandler; /** Sets the link for the site. */ previewUrl?: string; /** Sets the site name of the website. */ siteName?: string; /** Sets widget background color. */ skin?: 'light' | 'transparent'; /** Sets the title of the page. */ title?: string; /** Truncates title text at a specific number of lines. * @default 1 */ titleMaxLines?: number; /** When provided, a tooltip is displayed on website info section (favicon, site name and preview URL) hover. */ websiteInfoTooltipContent?: TooltipProps['content']; /** Allows to pass tooltip common props to website info tooltip. * @linkTypeTo Tooltip * @setTypeName TooltipCommonProps */ websiteInfoTooltipProps?: Partial; } //# sourceMappingURL=GooglePreview.types.d.ts.map