import Icon from "../common/Icon"; import type { StableVersion } from "../../services/api"; type VersionReceiptModalProps = { publishedVersion: StableVersion | null; onClose: () => void; onCopy: (text: string) => void; }; export function VersionReceiptModal({ publishedVersion, onClose, onCopy, }: VersionReceiptModalProps) { if (!publishedVersion) return null; return (
STABLE VERSION

稳定版本发布成功

{publishedVersion.version_label} 已成为不可变制品, 后续调度将通过 versions_id 引用它。

versions_id {publishedVersion.versions_id}
); }