Files
copilot-toolbox-template-123/node_modules/@ant-design/pro-layout/es/components/Help/ProHelpContentPanel.d.ts
2026-01-09 14:52:46 +00:00

19 lines
639 B
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 React from 'react';
import type { ProHelpDataSource } from './HelpProvide';
export type ProHelpContentPanelProps = {
/**
* 控制当前选中的帮助文档
*/
selectedKey: React.Key;
className?: string;
parentItem?: ProHelpDataSource<any>;
onScroll?: (key?: string) => void;
};
/**
* 控制具体的帮助文档显示组件
* selectedKey 来展示对应的内容。它会根据不同的item.valueType值来展示不同的内容包括标题、图片、超链接等。
* @param ProHelpContentPanelProps
* @returns
*/
export declare const ProHelpContentPanel: React.FC<ProHelpContentPanelProps>;