Plugins
Covers Engine Plugin SDK 2.0.0 · Interface Plugin SDK 0.2.0
Tooltip
Tooltip using the host's short contextual help presentation.
Import
import { Tooltip } from "@dartwic/interface-sdk/ui";Declaration
export const Tooltip: HostComponent<TooltipProps>;TooltipProps
Props accepted by the tooltip root.
export interface TooltipProps extends HostComponentProps {
/** Delay before opening, in milliseconds. */
delayDuration?: number;
}| Prop | Type | Requirement | Description |
|---|---|---|---|
delayDuration | number | Optional | Delay before opening, in milliseconds. |
className | string | Optional | Additional Tailwind or host CSS classes. |
children | HostNode | Optional | Child content rendered by the host component. |
id | string | Optional | Optional DOM identifier. |
style | Record<string, unknown> | Optional | Inline style values passed to the host component. |