Skip to content

Commit 022b467

Browse files
Kacper ŻółkiewskiKacper Żółkiewski
authored andcommitted
fix: change onLayout into onSvgLayout in Image native component
1 parent c7b0311 commit 022b467

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/fabric/ImageNativeComponent.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ interface NativeProps
8181
align?: string;
8282
meetOrSlice?: Int32;
8383
onLoad?: DirectEventHandler<ImageLoadEventData>;
84-
onLayout?: DirectEventHandler<OnSvgLayoutEvent>;
84+
onSvgLayout?: DirectEventHandler<OnSvgLayoutEvent>;
8585
}
8686

8787
export default codegenNativeComponent<NativeProps>('RNSVGImage', {

0 commit comments

Comments
 (0)