mirror of
https://github.com/zoriya/react-native-video.git
synced 2026-08-16 02:56:22 +00:00
18 lines
517 B
TypeScript
18 lines
517 B
TypeScript
import type { ViewProps } from 'react-native';
|
|
import type {
|
|
DirectEventHandler,
|
|
Int32,
|
|
} from 'react-native/Libraries/Types/CodegenTypes';
|
|
import codegenNativeComponent from 'react-native/Libraries/Utilities/codegenNativeComponent';
|
|
|
|
type OnNitroIdChangeEvent = Readonly<{
|
|
nitroId: Int32;
|
|
}>;
|
|
|
|
export interface ViewViewNativeProps extends ViewProps {
|
|
nitroId: Int32;
|
|
onNitroIdChange?: DirectEventHandler<OnNitroIdChangeEvent>;
|
|
}
|
|
|
|
export default codegenNativeComponent<ViewViewNativeProps>('RNCVideoView');
|