import { ReactNode } from 'react'; import { Stack, Text, TextLink } from '@grafana/ui'; interface Props { children: NonNullable; title: string; linkTitle?: string; linkHref?: string; } export const InfoItem = ({ children, title, linkHref, linkTitle }: Props) => { return ( {title} {children} {linkHref && ( {linkTitle ?? linkHref} )} ); };