/// import * as React from "react"; import { SimRecorder } from "./ThumbnailRecorder"; import { ShareInfo } from "./ShareInfo"; export interface ShareData { url: string; embed: { code?: string; editor?: string; simulator?: string; url?: string; } qr?: string; error?: any; } export interface ShareProps { projectName: string; projectDescription?: string; screenshotUri?: string; isLoggedIn?: boolean; hasProjectBeenPersistentShared?: boolean; anonymousShareByDefault?: boolean; isMultiplayerGame?: boolean; // Arcade: Does the game being shared have multiplayer enabled? kind?: "multiplayer" | "vscode" | "share"; // Arcade: Was the share dialog opened specifically for hosting a multiplayer game? setAnonymousSharePreference?: (anonymousByDefault: boolean) => void; simRecorder: SimRecorder; publishAsync: (name: string, description?: string, screenshotUri?: string, forceAnonymous?: boolean) => Promise; onClose: () => void; } export const Share = (props: ShareProps) => { const { projectName, projectDescription, screenshotUri, isLoggedIn, simRecorder, publishAsync, hasProjectBeenPersistentShared, anonymousShareByDefault, setAnonymousSharePreference, isMultiplayerGame, kind, onClose } = props; return
}