Use asChild to describe a Button. Opens on hover after the Root's delay and on keyboard
focus only; the delay runs here because zag skips it while any tooltip is marked open, so a click would flash one
(DESIGN.md follow-up 33). With content it needs no Root or Content around it.
Trigger
asChild?: boolean | undefined
Use the provided child element as the default rendered element, combining their props and behavior.
Use asChild to describe a Button. Opens on hover after the Root's delay and on keyboard
focus only; the delay runs here because zag skips it while any tooltip is marked open, so a click would flash one
(DESIGN.md follow-up 33). With content it needs no Root or Content around it.
Portalled text on the inverted surface (as the current Tooltip; no data-surface, whose popup fill it would fight),
capped at 20rem wide, with an arrow unless arrow={false}.
Portalled text on the inverted surface (as the current Tooltip; no data-surface, whose popup fill it would fight),
capped at 20rem wide, with an arrow unless arrow={false}.