import { type ReactNode } from "react"; import { type StyleProp, type ViewStyle } from "../../style/index.js"; import { type TooltipSkin } from "./tooltip.styles.js"; export interface TooltipProps { /** * An arbitrary element for the tip to hang off: an existing Button, Chip, or * any other control that already owns its own press and accessible name. The * highest-precedence trigger: children win over `iconTrigger`, `textTrigger`, * and the default Button. The child renders as-is and stays the single * interactive, labelled element; the root view Tooltip wraps it in takes no * accessibility role and no tab stop, listens only for hover and focus, and * never claims the press, so a Button child keeps its `onPress` and the tip * does not toggle on tap. */ children?: ReactNode; label?: string; /** * The element the tip describes. By default rendered as a text * `