feat: update `style` prop to use `StyleProp` instead of `ViewStyle` (#6)
Co-authored-by: Devin Lumley <2636402+devinwl@users.noreply.github.com>
This commit is contained in:
parent
f2376d11c3
commit
b22998c398
|
@ -1,10 +1,10 @@
|
|||
import React from 'react';
|
||||
import { requireNativeComponent, ViewStyle } from 'react-native';
|
||||
import { requireNativeComponent, StyleProp, ViewStyle } from 'react-native';
|
||||
// @ts-ignore
|
||||
import resolveAssetSource from 'react-native/Libraries/Image/resolveAssetSource';
|
||||
|
||||
type TransparentVideoProps = {
|
||||
style: ViewStyle;
|
||||
style: StyleProp<ViewStyle>;
|
||||
source?: any;
|
||||
loop?: boolean;
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue