Sanity Library Reference Docs
    Preparing search index...
    interface SanityAppProps {
        children: ReactNode;
        config?: SanityConfig | SanityConfig[];
        fallback: ReactNode;
        sanityConfigs?: SanityConfig[];
        sources?: Record<string, DocumentSource>;
    }
    Index

    Properties

    children: ReactNode

    One or more SanityConfig objects providing a project ID and dataset name. Optional when SanityApp is rendered inside an SDKStudioContext provider (e.g. inside Sanity Studio) — the config is derived from the workspace automatically.

    fallback: ReactNode
    sanityConfigs?: SanityConfig[]

    use the config prop instead.

    sources?: Record<string, DocumentSource>