deploy: v0.12 存档迁移+考古日志滚动条

This commit is contained in:
2026-06-24 03:04:38 +00:00
parent 4831505ef9
commit b4c6111516
58986 changed files with 7569452 additions and 31667 deletions
@@ -0,0 +1,30 @@
import type { SandpackClient } from "@codesandbox/sandpack-client";
import * as React from "react";
export interface PreviewProps {
style?: React.CSSProperties;
showNavigator?: boolean;
showOpenInCodeSandbox?: boolean;
showRefreshButton?: boolean;
showRestartButton?: boolean;
/**
* Whether to show the `<ErrorOverlay>` component on top of
* the preview, if a runtime error happens.
*/
showSandpackErrorOverlay?: boolean;
showOpenNewtab?: boolean;
actionsChildren?: JSX.Element;
children?: JSX.Element;
startRoute?: string;
}
export interface SandpackPreviewRef {
/**
* Retrieve the current Sandpack client instance from preview
*/
getClient: () => InstanceType<typeof SandpackClient> | null;
/**
* Returns the client id, which will be used to
* initialize a client in the main Sandpack context
*/
clientId: string;
}
export declare const SandpackPreview: React.ForwardRefExoticComponent<PreviewProps & React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<SandpackPreviewRef>>;