Function hoistNonReactStatics
- hoistNonReactStatics<T, S, C>(TargetComponent, SourceComponent, customStatic?): T & NonReactStatics<S, C>
Type Parameters
- T extends ComponentType<any>
- S extends ComponentType<any>
- C extends {
[key: string]: true;
} = {}
Parameters
- TargetComponent: T
- SourceComponent: S
Optional
customStatic: C