UNPKG

@primer/react

Version:

An implementation of GitHub's Primer Design System using React

23 lines (22 loc) 554 B
import { ForwardRefComponent } from "../utils/polymorphic.js"; import React from "react"; //#region src/Tooltip/Tooltip.d.ts /** * @deprecated */ type TooltipProps = { direction?: 'n' | 'ne' | 'e' | 'se' | 's' | 'sw' | 'w' | 'nw'; text?: string; noDelay?: boolean; align?: 'left' | 'right'; wrap?: boolean; } & React.ComponentProps<'span'>; /** * @deprecated */ declare const Tooltip: ForwardRefComponent<"span", TooltipProps> & { alignments: string[]; directions: string[]; }; //#endregion export { TooltipProps, Tooltip as default };