Adds an accessible tooltip to a focusable trigger. The trigger is linked to the tip with aria-describedby; the enhancer shows it on hover/focus with delays, promotes it to the top layer, and dismisses it on Escape.

<Tooltip content="Save (Cmd+S)">
<Button icon aria-label="Save">...</Button>
</Tooltip>

Properties

$$typeof: symbol
displayName?: string

Used in debugging messages. You might want to set it explicitly if you want to display a different name for debugging purposes.

propTypes?: any

Ignored by React.

Only kept in types for backwards compatibility. Will be removed in a future major release.