UNPKG

@codesandbox/sandpack-react

Version:

<img style="width:100%" src="https://user-images.githubusercontent.com/4838076/143581035-ebee5ba2-9cb1-4fe8-a05b-2f44bd69bb4b.gif" alt="Component toolkit for live running code editing experiences" />

12 lines (11 loc) 385 B
import * as React from "react"; export interface LoadingOverlayProps { clientId?: string; /** * It enforces keeping the loading state visible, * which is helpful for external loading states. */ loading?: boolean; showOpenInCodeSandbox: boolean; } export declare const LoadingOverlay: React.FC<LoadingOverlayProps & React.HTMLAttributes<HTMLDivElement>>;