Sanity Library Reference Docs
    Preparing search index...

    Interface OverlayPluginExclusiveDefinition

    interface OverlayPluginExclusiveDefinition {
        component?: OverlayPluginComponent<
            Record<string, unknown> & { closeExclusiveView: () => void },
            any,
        >;
        guard?: (context: OverlayComponentResolverContext) => boolean;
        icon?: ComponentType;
        name: string;
        title?: string;
        type: "exclusive";
    }

    Hierarchy (View Summary)

    Index

    Properties

    component?: OverlayPluginComponent<
        Record<string, unknown> & { closeExclusiveView: () => void },
        any,
    >
    guard?: (context: OverlayComponentResolverContext) => boolean
    icon?: ComponentType
    name: string
    title?: string
    type: "exclusive"