1 | import * as React from 'react';
|
2 |
|
3 | declare function hoistNonReactStatics<Own, Custom>(
|
4 | TargetComponent: React.ComponentType<Own>,
|
5 | SourceComponent: React.ComponentType<Own & Custom>,
|
6 | customStatic?: any): React.ComponentType<Own>;
|
7 |
|
8 | export default hoistNonReactStatics
|