Skip to content

Commit ef120e2

Browse files
committed
Update generated types
1 parent 46a3567 commit ef120e2

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

generatedTypes/src/components/drawer/Swipeable.d.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
import { Component } from 'react';
22
import { Animated } from 'react-native';
3+
import { State } from 'react-native-gesture-handler';
34
declare type Props = {
45
children: any;
56
friction: number;
@@ -36,15 +37,15 @@ declare type Props = {
3637
childrenContainerStyle?: Object;
3738
disableHaptic?: boolean;
3839
};
39-
declare type StateType = {
40+
declare type State = {
4041
dragX: Animated.Value;
4142
rowTranslation: Animated.Value;
4243
leftWidth: number | typeof undefined;
4344
rightOffset: number | typeof undefined;
4445
rowWidth: number | typeof undefined;
4546
};
4647
export declare type SwipeableProps = Props;
47-
export default class Swipeable extends Component<Props, StateType> {
48+
export default class Swipeable extends Component<Props, State> {
4849
static displayName: string;
4950
static defaultProps: {
5051
friction: number;

generatedTypes/src/components/gridView/index.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ export interface GridViewProps {
3333
/**
3434
* whether to keep the items initial size when orientation changes,
3535
* in which case the apt number of columns will be calculated automatically.
36-
* Irrelevant when passing maxItemWidth
36+
* Ignored when passing 'maxItemWidth'
3737
*/
3838
keepItemSize?: boolean;
3939
}

0 commit comments

Comments
 (0)