Skip to content

TipContent beta ​

TypeAlias of @v12-engine/client/kit

ts
export type TipContent = string | (() => JSX.Element);

What a tooltip shows: words, or a function that makes what to show as it shows (so it is up to date): words, an element, or anything Solid draws (() => <AbilityTip ... />), which lives while the tooltip does