UNPKG

@ant-design/pro-layout

Version:
16 lines (15 loc) 622 B
/// <reference types="react" /> import type { DrawerProps } from 'antd'; import type { ProHelpPanelProps } from './ProHelpPanel'; export type ProHelpDrawerProps = { /** * Ant Design Drawer 组件的 Props,可以传递一些选项,如位置、大小、关闭方式等等。 */ drawerProps: DrawerProps; } & Omit<ProHelpPanelProps, 'onClose'>; /** * 渲染一个抽屉,其中显示了一个 ProHelpPanel。 * @param drawerProps 要传递给 Drawer 组件的属性。 * @param props 要传递给 ProHelpPanel 组件的属性。 */ export declare const ProHelpDrawer: React.FC<ProHelpDrawerProps>;