TooltipProps beta
Interface of @v12-engine/client/kit
ts
export interface TooltipPropsWhat a Tooltip is given: what it says, what it is about and where it goes
Members
ark
ts
ark?: Partial<Omit<ArkTooltip.RootProps, 'children'>>;The rest of Ark's tooltip, which it is (openDelay, interactive...): Ark's own, not the kit's to promise
children
ts
children: JSX.Element;What it is about: the pointer over it, or the keyboard on it, shows the tooltip
class
ts
class?: string;CSS classes added to the tooltip's content
content
ts
content: JSX.Element;What it says: words, or anything
mount
ts
mount?: Element;Where it goes: the place it is in (a game's element), or the page's body, when left out
placement
ts
placement?: TipPlacement;Which side of what it is about it goes: top when left out