Skip to content

Commit e33664f

Browse files
authored
feat: export ResizeMode and Priority types (DylanVann#678)
1 parent 1fd5300 commit e33664f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/index.tsx

+2-2
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ import {
1414

1515
const FastImageViewNativeModule = NativeModules.FastImageView
1616

17-
type ResizeMode = 'contain' | 'cover' | 'stretch' | 'center'
17+
export type ResizeMode = 'contain' | 'cover' | 'stretch' | 'center'
1818

1919
const resizeMode = {
2020
contain: 'contain',
@@ -23,7 +23,7 @@ const resizeMode = {
2323
center: 'center',
2424
} as const
2525

26-
type Priority = 'low' | 'normal' | 'high'
26+
export type Priority = 'low' | 'normal' | 'high'
2727

2828
const priority = {
2929
low: 'low',

0 commit comments

Comments
 (0)