UNPKG

@transkripid/flowbite-react

Version:

Official React components built for Flowbite and Tailwind CSS - Transkrip.id fork

19 lines (18 loc) 729 B
import type { Placement } from '@floating-ui/core'; import type { ComponentProps, FC, ReactNode } from 'react'; import type { DeepPartial } from '../../types'; import { type FlowbiteFloatingTheme } from '../Floating'; export type FlowbiteTooltipTheme = FlowbiteFloatingTheme; export interface TooltipProps extends Omit<ComponentProps<'div'>, 'content' | 'style'> { animation?: false | `duration-${number}`; arrow?: boolean; content: ReactNode; placement?: 'auto' | Placement; style?: 'dark' | 'light' | 'auto'; theme?: DeepPartial<FlowbiteTooltipTheme>; trigger?: 'hover' | 'click'; } /** * @see https://floating-ui.com/docs/react-dom-interactions */ export declare const Tooltip: FC<TooltipProps>;