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