Find component of type in a project.

  • Type Parameters

    • T extends (new (...args: any[]) => Component)

    Parameters

    • project: Project

      Project to search through.

    • component: T

      Component type to look for.

    Returns undefined | InstanceType<T>