hoda-react
Version:
<div align="center"> <h1>:construction: flowbite-react (unreleased) :construction:</h1> <p> <a href="https://flowbite-react.com"> <img alt="Flowbite - Tailwind CSS components" width="350" src=".github/assets/flowbite-react-github.png"> <
18 lines (17 loc) • 669 B
TypeScript
import type { Placement } from '@floating-ui/core';
import type { ComponentProps, FC, PropsWithChildren, ReactNode } from 'react';
import { FlowbiteFloatingTheme } from '../Floating';
export interface FlowbiteTooltipTheme extends FlowbiteFloatingTheme {
}
export interface TooltipProps extends PropsWithChildren<Omit<ComponentProps<'div'>, 'style'>> {
content: ReactNode;
placement?: 'auto' | Placement;
trigger?: 'hover' | 'click';
style?: 'dark' | 'light' | 'auto';
animation?: false | `duration-${number}`;
arrow?: boolean;
}
/**
* @see https://floating-ui.com/docs/react-dom-interactions
*/
export declare const Tooltip: FC<TooltipProps>;