UNPKG

@visa/nova-react

Version:

Visa Product Design System Nova React library. Compatible with React ^19.

19 lines (18 loc) 694 B
import type { ComponentPropsWithRef, ElementType } from 'react'; export type TooltipProperties<ET extends ElementType = 'span'> = { /** CSS Class Name */ className?: string; /** Tag of Component */ tag?: ElementType; } & ComponentPropsWithRef<ET>; /** * Short message communicating the function or context of a control or object. * @docs {@link https://design.visa.com/components/tooltip/?code_library=react | See Docs} * @vgar TODO * @wcag TODO */ declare const Tooltip: { <ET extends ElementType = "span">({ className, tag: Tag, ...remainingProps }: TooltipProperties<ET>): import("react/jsx-runtime").JSX.Element; displayName: string; }; export default Tooltip;