From 401cc83d5a69e31fdef3ad0d8fd518c674bb0b5b Mon Sep 17 00:00:00 2001 From: Halim Date: Fri, 5 Aug 2022 15:27:21 +0200 Subject: [PATCH] fix: flow type and stylesheet import --- index.js.flow | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/index.js.flow b/index.js.flow index 43d74dc4..f1696c3d 100644 --- a/index.js.flow +++ b/index.js.flow @@ -5,8 +5,10 @@ import { Component } from 'react'; import type { Node } from 'react'; -import type { FormField, Methods } from 'rn-fetch-blob'; -import type { ViewStyleProp } from 'react-native/Libraries/StyleSheet/StyleSheet' +import type { FormField, Methods } from 'react-native-blob-util'; +import { StyleSheet } from 'react-native'; + +export type ViewStyleProp = StyleSheet.ViewStyleProp; export type AssetId = number;