@dxos/app-framework - v0.8.3
    Preparing search index...

    Type Alias SurfaceProps<T>

    SurfaceProps: {
        fallback?: ErrorBoundary["props"]["fallback"];
        placeholder?: ReactNode;
    } & MakeOptional<CoreSurfaceProps<T>, "id" | "data"> & {
        [K in keyof Record<string, any>]: K extends | keyof CoreSurfaceProps<T>
        | "fallback"
        | "placeholder"
            ? never
            : any
    }

    SurfaceProps are the props that are passed to the Surface component.

    Type Parameters

    • T extends Record<string, any> = Record<string, unknown>

    Type declaration

    • Optionalfallback?: ErrorBoundary["props"]["fallback"]

      If specified, the Surface will be wrapped in an error boundary. The fallback component will be rendered if an error occurs.

    • Optionalplaceholder?: ReactNode

      If specified, the Surface will be wrapped in a suspense boundary. The placeholder component will be rendered while the surface component is loading.