/** * 命令式弹框挂载点 * * 正式 API:PortalProvider + withAlert * 兼容:Portal(= PortalProvider 薄包装)、withAlertContext(= withAlert re-export) */ export { PortalProvider, getPortalManager, usePortalManager, } from './PortalContext'; export type { PortalManager, PortalProviderProps } from './PortalContext'; export { default as withAlert } from './withAlert'; export type { AlertInstance, Path, WithAlertConfig } from './withAlert'; /** @deprecated 使用 withAlert */ export { default as withAlertContext } from './withAlertContext'; /** @deprecated 使用 PortalProvider */ export { Portal } from './Portal';