@lobehub/ui
Version:
Lobe UI is an open-source UI component library for building AIGC web apps
11 lines (10 loc) • 386 B
TypeScript
import type { TooltipProps as AntdTooltipProps } from 'antd';
import type { TooltipRef } from 'antd/lib/tooltip';
import type { ReactNode, Ref } from 'react';
import type { HotkeyProps } from "../Hotkey";
export type TooltipProps = Omit<AntdTooltipProps, 'title'> & {
hotkey?: string;
hotkeyProps?: Omit<HotkeyProps, 'keys'>;
ref?: Ref<TooltipRef>;
title: ReactNode;
};