• Parameters

    • nodeKey: string

      the node key that you want to get the controls for.

    Returns {
        isOpen: boolean;
        toggle: (() => void);
    }

    • isOpen: boolean
    • toggle: (() => void)
        • (): void
        • Returns void