@grafana/ui
Version:
Grafana Components Library
17 lines (16 loc) • 641 B
TypeScript
import { Side } from '@floating-ui/react';
import * as React from 'react';
import { IconName } from '../../types/icon';
export interface InlineToastProps {
children: React.ReactNode;
suffixIcon?: IconName;
referenceElement: HTMLElement | null;
placement: Side;
/**
* @deprecated
* Placement to use if there is not enough space to show the full toast with the original placement
* This is now done automatically.
*/
alternativePlacement?: Side;
}
export declare function InlineToast({ referenceElement, children, suffixIcon, placement }: InlineToastProps): import("react/jsx-runtime").JSX.Element;