UNPKG

@coconut-software/ui

Version:

React components for faster and easier web development.

13 lines (12 loc) 446 B
import type { ComputedPlacement } from '@popperjs/core'; import type { PropsWithChildren } from 'react'; export interface TooltipProps { arrow?: boolean; title: string; placement?: ComputedPlacement; } export interface InteractiveChildNode extends ChildNode { disabled?: boolean; } declare function Tooltip({ title, children, arrow, placement, }: PropsWithChildren<TooltipProps>): JSX.Element; export default Tooltip;