Skip to content

Commit 6c73980

Browse files
Kacper Żółkiewskikacperzolkiewski
authored andcommitted
fix: change onLayout into onSvgLayout in Image native component
1 parent 603483c commit 6c73980

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

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)