From f7887fbc2229622e3a64e94794275446cf1cd3ff Mon Sep 17 00:00:00 2001 From: Ameer Hamza <12bscsahamza@seecs.edu.pk> Date: Wed, 29 May 2019 15:19:09 +0500 Subject: [PATCH] fix: export right interface with right props The package is exporting an interface SwipeoutProperties from 'index.d.ts', this interface has a prop named 'rowId' but this prop is not supported in the package. The prop that is supported in package is 'rowID'. Because of this user was getting wrong intellisense in the editor and even after updating row id in props it wasn't updated --- index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.d.ts b/index.d.ts index e8364b7b..5875387f 100644 --- a/index.d.ts +++ b/index.d.ts @@ -25,7 +25,7 @@ declare module 'react-native-swipeout' { style?: Object; sensitivity?: number; buttonWidth?: number; - rowId?: number; + rowID?: number; sectionId?: number; openRight?: boolean; openLeft?: boolean;