g3-toolkit API Reference
    Preparing search index...

    Interface NodeEditorModalProps

    interface NodeEditorModalProps {
        className?: string;
        defaultTab?: NodeEditorTab;
        mode?: "preview" | "edit";
        nodeId: string | null;
        onClose: () => void;
        onPropertyChange?: (key: string, value: unknown) => void;
        spec?: PropertyInspectorSpec;
        ugm: UGM;
    }
    Index

    Properties

    className?: string

    CSS class for the backdrop.

    defaultTab?: NodeEditorTab

    Tab shown first when the modal opens; defaults to "properties".

    mode?: "preview" | "edit"

    Property tab mode; defaults to "edit" since the modal is a workspace.

    nodeId: string | null

    Open for this node id; closed (renders nothing) when null.

    onClose: () => void

    Close handler (e.g. clears the selection that opened the modal).

    onPropertyChange?: (key: string, value: unknown) => void

    Property change passthrough (edit mode).

    Property spec passthrough for the Properties tab.

    ugm: UGM

    UGM instance the panels read from.