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 React from 'react';
|
||||||
import { requireNativeComponent, ViewStyle } from 'react-native';
|
import { requireNativeComponent, StyleProp, ViewStyle } from 'react-native';
|
||||||
// @ts-ignore
|
// @ts-ignore
|
||||||
import resolveAssetSource from 'react-native/Libraries/Image/resolveAssetSource';
|
import resolveAssetSource from 'react-native/Libraries/Image/resolveAssetSource';
|
||||||
|
|
||||||
type TransparentVideoProps = {
|
type TransparentVideoProps = {
|
||||||
style: ViewStyle;
|
style: StyleProp<ViewStyle>;
|
||||||
source?: any;
|
source?: any;
|
||||||
loop?: boolean;
|
loop?: boolean;
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue