import * as React from "react"; import { StatefulTooltip } from "baseui/tooltip"; import { StyledLink } from "baseui/link"; import { useStyletron, DarkTheme, ThemeProvider } from "baseui"; function ComplexContent() { return ( Please click this link here:{` `} Click Me! ); } export default function Example() { const [css, theme] = useStyletron(); return (
You can use tooltips in many places, including inline text{" "} such as this . Tooltips are essentially just a Popover with a few style tweaks, so you can use all the features that Popover supports. Tooltips with interactive content, such as links or buttons, should use the autoFocus or focusLock props. This ensures the content is within the keyboard tab order of the page.
); }