chore: disable codegen (#3647)
We can not use Interop Layer with codegen - to be reverted once we integrate new architecture
This commit is contained in:
parent
9b66e7fdce
commit
1e5af7b526
@ -64,10 +64,5 @@
|
||||
"!**/*.tsbuildinfo",
|
||||
"!docs",
|
||||
"!examples"
|
||||
],
|
||||
"codegenConfig": {
|
||||
"name": "RNCVideo",
|
||||
"type": "components",
|
||||
"jsSrcsDir": "./src/specs"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
@ -1,7 +1,6 @@
|
||||
/* eslint-disable @typescript-eslint/ban-types */
|
||||
import type {HostComponent, ViewProps} from 'react-native';
|
||||
import {NativeModules} from 'react-native';
|
||||
import codegenNativeComponent from 'react-native/Libraries/Utilities/codegenNativeComponent';
|
||||
import {NativeModules, requireNativeComponent} from 'react-native';
|
||||
import type {
|
||||
DirectEventHandler,
|
||||
Double,
|
||||
@ -382,6 +381,6 @@ export const VideoManager = NativeModules.VideoManager as VideoManagerType;
|
||||
export const VideoDecoderProperties =
|
||||
NativeModules.VideoDecoderProperties as VideoDecoderPropertiesType;
|
||||
|
||||
export default codegenNativeComponent<VideoNativeProps>(
|
||||
export default requireNativeComponent<VideoNativeProps>(
|
||||
'RCTVideo',
|
||||
) as VideoComponentType;
|
||||
|
Loading…
Reference in New Issue
Block a user