This commit is contained in:
Ibrahem 2023-08-16 13:13:38 +03:00
parent 728effc935
commit a10cfa6e1a
No known key found for this signature in database
GPG Key ID: 5526EBA6000E583E
1 changed files with 2 additions and 2 deletions

View File

@ -6,7 +6,7 @@ import resolveAssetSource from 'react-native/Libraries/Image/resolveAssetSource'
type TransparentVideoProps = {
style: ViewStyle;
source?: any;
loop?: boolean;
disableLoop?: boolean;
};
const ComponentName = 'TransparentVideoView';
@ -28,7 +28,7 @@ class TransparentVideo extends React.PureComponent<TransparentVideoProps> {
uri,
type: source.type || '',
},
loop: nativeProps.loop ?? true,
disableLoop: nativeProps.disableLoop ?? true,
});
return <TransparentVideoView {...nativeProps} />;