Skip to content

Commit

Permalink
fix: FastImage extends ViewProps (#829)
Browse files Browse the repository at this point in the history
fix #819
  • Loading branch information
DylanVann committed Sep 27, 2021
1 parent d96b851 commit 68db871
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/index.tsx
Expand Up @@ -11,6 +11,7 @@ import {
StyleProp,
TransformsStyle,
AccessibilityProps,
ViewProps,
} from 'react-native'

const FastImageViewNativeModule = NativeModules.FastImageView
Expand Down Expand Up @@ -79,7 +80,7 @@ export interface ImageStyle extends FlexStyle, TransformsStyle, ShadowStyleIOS {
opacity?: number
}

export interface FastImageProps extends AccessibilityProps {
export interface FastImageProps extends AccessibilityProps, ViewProps {
source: Source | number
resizeMode?: ResizeMode
fallback?: boolean
Expand Down

0 comments on commit 68db871

Please sign in to comment.