Files
copilot-toolbox-sdfdsfds/node_modules/@ant-design/pro-layout/lib/components/Help/ProHelpPopover.d.ts
2026-01-16 01:51:36 +00:00

33 lines
1.2 KiB
TypeScript
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
import type { PopoverProps } from 'antd';
import React from 'react';
export type ProHelpPopoverProps = Omit<PopoverProps, 'content'> & {
/**
* 悬浮提示文字的 CSS 类名
*/
textClassName?: string;
/**
* Popover 内容的 content 的 CSS 类名
*/
popoverContextClassName?: string;
/**
* 悬浮提示文字的 CSS 样式对象
*/
textStyle?: React.CSSProperties;
/**
* 当前选中的帮助文档的 key 值
*/
selectedKey: string;
/**
* 可选的悬浮提示 Popover 组件的 Props用于自定义悬浮提示的样式和行为。
* 该属性可以传递 Ant Design Popover 组件的 props如位置、大小、触发方式等等
* @see 注意content 属性已经被从 PopoverProps 中删除,因为这个属性由 ProHelpPopover 内部控制。
*/
popoverProps?: PopoverProps;
};
/**
* 渲染一个弹出式提示框其中显示了一个ProHelpContentPanel展示帮助文案的详情
* @param popoverProps 要传递给 Drawer 组件的属性。
* @param props 要传递给 ProHelpPanel 组件的属性。
*/
export declare const ProHelpPopover: React.FC<ProHelpPopoverProps>;