File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed
generatedTypes/src/components Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change 1
1
import { Component } from 'react' ;
2
2
import { Animated } from 'react-native' ;
3
+ import { State } from 'react-native-gesture-handler' ;
3
4
declare type Props = {
4
5
children : any ;
5
6
friction : number ;
@@ -36,15 +37,15 @@ declare type Props = {
36
37
childrenContainerStyle ?: Object ;
37
38
disableHaptic ?: boolean ;
38
39
} ;
39
- declare type StateType = {
40
+ declare type State = {
40
41
dragX : Animated . Value ;
41
42
rowTranslation : Animated . Value ;
42
43
leftWidth : number | typeof undefined ;
43
44
rightOffset : number | typeof undefined ;
44
45
rowWidth : number | typeof undefined ;
45
46
} ;
46
47
export declare type SwipeableProps = Props ;
47
- export default class Swipeable extends Component < Props , StateType > {
48
+ export default class Swipeable extends Component < Props , State > {
48
49
static displayName : string ;
49
50
static defaultProps : {
50
51
friction : number ;
Original file line number Diff line number Diff line change @@ -33,7 +33,7 @@ export interface GridViewProps {
33
33
/**
34
34
* whether to keep the items initial size when orientation changes,
35
35
* in which case the apt number of columns will be calculated automatically.
36
- * Irrelevant when passing maxItemWidth
36
+ * Ignored when passing ' maxItemWidth'
37
37
*/
38
38
keepItemSize ?: boolean ;
39
39
}
You can’t perform that action at this time.
0 commit comments