UNPKG

react-tooltip-com

Version:

A simple React tooltip component with customizable position.

11 lines (8 loc) 256 B
import React, { ReactNode } from 'react'; interface TooltipProps { text: string; possition?: string | null; children: ReactNode; } declare const Tooltip: ({ text, possition, children }: TooltipProps) => React.JSX.Element; export { Tooltip };