/** * Portal - 命令式弹框挂载点 * * 推荐使用新的 PortalProvider + withAlertContext 方案 * 旧的 Portal + withAlert 方案仍然保留,但建议迁移到新方案 */ export { PortalProvider, usePortalManager, getPortalManager } from './PortalContext'; export type { PortalManager, PortalProviderProps } from './PortalContext'; export { default as withAlertContext } from './withAlertContext'; export type { WithAlertConfig, AlertInstance, Path } from './withAlertContext'; export { Portal } from './Portal'; export { default as withAlert } from './withAlert';