Skip to content

Commit faefdb7

Browse files
committed
chore: Fixed spacing inconsistency
1 parent b767c8b commit faefdb7

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

types/index.d.ts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@ import { Component } from 'react';
22
import { StyleProp, ViewStyle, ListView, NativeSyntheticEvent, NativeScrollEvent, ListRenderItemInfo, ListViewDataSource, SectionListProps, FlatListProps, GestureResponderEvent, PanResponderGestureState } from 'react-native';
33

44
type SwipeGestureEndedData = {
5-
translateX: number;
6-
direction: 'left' | 'right';
7-
event: GestureResponderEvent;
8-
gestureState: PanResponderGestureState;
5+
translateX: number;
6+
direction: 'left' | 'right';
7+
event: GestureResponderEvent;
8+
gestureState: PanResponderGestureState;
99
}
1010

1111
interface IPropsSwipeRow<T> {
@@ -21,7 +21,7 @@ interface IPropsSwipeRow<T> {
2121
/**
2222
* Called when user has ended their swipe gesture
2323
*/
24-
swipeGestureEnded(swipeKey: string, data: SwipeGestureEndedData): void;
24+
swipeGestureEnded(swipeKey: string, data: SwipeGestureEndedData): void;
2525
/**
2626
* Called when a swipe row is animating open. Used by the SwipeListView
2727
* to keep references to open rows.
@@ -334,7 +334,7 @@ interface IPropsSwipeListView<T> {
334334
/**
335335
* Called when user has ended their swipe gesture
336336
*/
337-
swipeGestureEnded(rowKey: string, data: SwipeGestureEndedData): void;
337+
swipeGestureEnded(rowKey: string, data: SwipeGestureEndedData): void;
338338
/**
339339
* Called when a swipe row is animating open
340340
*/

0 commit comments

Comments
 (0)