import { IconDefinition } from '@mezzanine-ui/icons'; import { DescriptionContentVariant, DescriptionSize } from '@mezzanine-ui/core/description'; interface DescriptionContentBaseProps { /** * Custom class name for content */ className?: string; /** * Content text */ children: string; /** * Controls the text size of the content. When provided, overrides the size * inherited from a parent component. * @default context value or 'main' */ size?: DescriptionSize; /** * Define the style and behavior of the content * @default 'normal' */ variant?: Extract; /** * Custom icon rendered after the content text */ icon?: never; /** * Click handler for the icon. */ onClickIcon?: never; } interface DescriptionContentWithClickableIcon { className?: string; children: string; /** * Controls the text size of the content. When provided, overrides the size * inherited from a parent component. * @default context value or 'main' */ size?: DescriptionSize; variant: Extract; icon: IconDefinition; onClickIcon?: VoidFunction; } export type DescriptionContentProps = DescriptionContentBaseProps | DescriptionContentWithClickableIcon; declare const DescriptionContent: import("react").ForwardRefExoticComponent>; export default DescriptionContent;