import type { ReactNode } from 'react'; import type { PlatformActionButtonSize, PlatformActionButtonSurface, PlatformActionButtonTone, } from './platformActionButtonModel'; import { PlatformStatusDialog, type PlatformStatusDialogStatus, } from './PlatformStatusDialog'; type PlatformAcknowledgeStatusDialogProps = { open?: boolean; status: PlatformStatusDialogStatus; title: string; description?: ReactNode; children?: ReactNode; onClose: () => void; actionLabel?: string; actionDisabled?: boolean; actionTone?: PlatformActionButtonTone; actionSurface?: PlatformActionButtonSurface; actionSize?: PlatformActionButtonSize; actionFullWidth?: boolean; actionClassName?: string; showHeader?: boolean; showBodyTitle?: boolean; showCloseButton?: boolean; closeOnBackdrop?: boolean; closeOnEscape?: boolean; closeLabel?: string; closeDisabled?: boolean; zIndexClassName?: string; overlayClassName?: string; panelClassName?: string; bodyClassName?: string; iconClassName?: string; icon?: ReactNode; iconLabel?: string; }; /** * 平台已读确认状态弹窗。 * 统一承接“状态提示 + 知道了”这一类单按钮确认已读的弹窗语义。 */ export function PlatformAcknowledgeStatusDialog({ open, status, title, description, children, onClose, actionLabel = '知道了', actionDisabled = false, actionTone, actionSurface = 'platform', actionSize, actionFullWidth, actionClassName, showHeader, showBodyTitle, showCloseButton, closeOnBackdrop, closeOnEscape, closeLabel, closeDisabled, zIndexClassName, overlayClassName, panelClassName, bodyClassName, iconClassName, icon, iconLabel, }: PlatformAcknowledgeStatusDialogProps) { return ( {children} ); }