UNPKG

@serendie/ui

Version:

Adaptive UI component library as part of Serendie Design System by Mitsubishi Electric

15 lines (14 loc) 772 B
import { ComponentProps } from 'react'; import { RecipeVariantProps } from '../../../styled-system/css'; declare const TooltipStyle: import('../../../styled-system/types').SlotRecipeRuntimeFn<"content" | "arrow" | "arrowTip", import('../../../styled-system/types').SlotRecipeVariantRecord<"content" | "arrow" | "arrowTip">>; type TooltipVariantProps = RecipeVariantProps<typeof TooltipStyle>; export type TooltipProps = { content: string; children: React.ReactNode; placement?: "top" | "top-start" | "top-end" | "bottom" | "bottom-start" | "bottom-end" | "left" | "right"; openDelay?: number; closeDelay?: number; disabled?: boolean; } & ComponentProps<"div"> & TooltipVariantProps; export declare const Tooltip: React.FC<TooltipProps>; export {};