- withCompatMode<P>(Component: ComponentType<P>): { CompatComponent: ForwardRefExoticComponent<RefAttributes<unknown>>; Component: ForwardRefExoticComponent<RefAttributes<unknown>>; appVersion: undefined | string; buildEnv: undefined | string; environment: undefined | string; requiredVersion: any; version: number }
Type parameters
Parameters
Component: ComponentType<P>
Returns { CompatComponent: ForwardRefExoticComponent<RefAttributes<unknown>>; Component: ForwardRefExoticComponent<RefAttributes<unknown>>; appVersion: undefined | string; buildEnv: undefined | string; environment: undefined | string; requiredVersion: any; version: number }
CompatComponent: ForwardRefExoticComponent<RefAttributes<unknown>>
Component: ForwardRefExoticComponent<RefAttributes<unknown>>
appVersion: undefined | string
buildEnv: undefined | string
environment: undefined | string
requiredVersion: any
version: number