diff --git a/src/index.tsx b/src/index.tsx index a0df4db..be346ed 100644 --- a/src/index.tsx +++ b/src/index.tsx @@ -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; source?: any; loop?: boolean; };