diff --git a/types/index.d.ts b/types/index.d.ts index bd71cf6..9d8f8f7 100644 --- a/types/index.d.ts +++ b/types/index.d.ts @@ -1,3 +1,4 @@ +import React = require('react'); import { Component } from 'react'; import { StyleProp, ViewStyle, ListView, NativeSyntheticEvent, NativeScrollEvent, ListRenderItemInfo, ListViewDataSource, SectionListProps, FlatListProps, GestureResponderEvent, PanResponderGestureState } from 'react-native'; @@ -207,7 +208,7 @@ interface IPropsSwipeRow { useNativeDriver: boolean; } -export class SwipeRow extends Component>> { +export class SwipeRow extends Component>>> { isOpen: boolean; closeRow: () => void; closeRowWithoutAnimation: () => void;