• Type Parameters

    • T extends ComponentType<any>
    • S extends ComponentType<any>
    • C extends {
          [key: string]: true;
      } = {}

    Parameters

    • TargetComponent: T
    • SourceComponent: S
    • OptionalcustomStatic: C

    Returns T & NonReactStatics<S, C>