Bump ts
This commit is contained in:
parent
728effc935
commit
a10cfa6e1a
|
@ -6,7 +6,7 @@ import resolveAssetSource from 'react-native/Libraries/Image/resolveAssetSource'
|
||||||
type TransparentVideoProps = {
|
type TransparentVideoProps = {
|
||||||
style: ViewStyle;
|
style: ViewStyle;
|
||||||
source?: any;
|
source?: any;
|
||||||
loop?: boolean;
|
disableLoop?: boolean;
|
||||||
};
|
};
|
||||||
|
|
||||||
const ComponentName = 'TransparentVideoView';
|
const ComponentName = 'TransparentVideoView';
|
||||||
|
@ -28,7 +28,7 @@ class TransparentVideo extends React.PureComponent<TransparentVideoProps> {
|
||||||
uri,
|
uri,
|
||||||
type: source.type || '',
|
type: source.type || '',
|
||||||
},
|
},
|
||||||
loop: nativeProps.loop ?? true,
|
disableLoop: nativeProps.disableLoop ?? true,
|
||||||
});
|
});
|
||||||
|
|
||||||
return <TransparentVideoView {...nativeProps} />;
|
return <TransparentVideoView {...nativeProps} />;
|
||||||
|
|
Loading…
Reference in New Issue