Function findInReactTree

  • Find the component you are looking for in a tree, recursively.

    Parameters

    • tree: Tree

      The tree to search through

    • searchFilter: TreeFilter

      The filter. Either a string or a function. Should be unique

    • maxRecursion: number = 100

      The max depth. Avoids call stack exceeded error.

    Returns Tree | null | undefined

    The component you are looking for

Generated using TypeDoc