feat: export ResizeMode and Priority types (#678)

This commit is contained in:
Lucas Vieira 2020-07-17 00:50:48 -03:00 committed by GitHub
parent 1fd53007ef
commit e33664fbcf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -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',