From e33664fbcff4be7b180c3843422f76e9d0b1c4f8 Mon Sep 17 00:00:00 2001 From: Lucas Vieira Date: Fri, 17 Jul 2020 00:50:48 -0300 Subject: [PATCH] feat: export ResizeMode and Priority types (#678) --- src/index.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/index.tsx b/src/index.tsx index ade83bdcf..e3fd17ccb 100644 --- a/src/index.tsx +++ b/src/index.tsx @@ -14,7 +14,7 @@ import { const FastImageViewNativeModule = NativeModules.FastImageView -type ResizeMode = 'contain' | 'cover' | 'stretch' | 'center' +export type ResizeMode = 'contain' | 'cover' | 'stretch' | 'center' const resizeMode = { contain: 'contain', @@ -23,7 +23,7 @@ const resizeMode = { center: 'center', } as const -type Priority = 'low' | 'normal' | 'high' +export type Priority = 'low' | 'normal' | 'high' const priority = { low: 'low',