Skip to content

Commit 7a6e86f

Browse files
committed
update generate types
1 parent d5efd35 commit 7a6e86f

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

generatedTypes/commons/modifiers.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,6 @@ export declare function generateModifiersStyle(options: {
9999
alignments: boolean;
100100
flex: boolean;
101101
position: boolean;
102-
} | undefined, props: Dictionary<any>): Partial<ExtractedStyle>;
102+
} | undefined, props: Dictionary<any>): ExtractedStyle;
103103
export declare function getAlteredModifiersOptions(currentProps: any, nextProps: any): AlteredOptions;
104104
export {};

generatedTypes/components/drawer/Swipeable.d.ts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ export declare type PropType = {
77
rightThreshold?: number;
88
fullLeftThreshold?: number;
99
fullSwipeLeft?: boolean;
10+
fullRightThreshold?: number;
11+
fullSwipeRight?: boolean;
1012
overshootLeft?: boolean;
1113
overshootRight?: boolean;
1214
overshootFriction?: number;
@@ -20,6 +22,8 @@ export declare type PropType = {
2022
onSwipeableWillClose?: Function;
2123
onFullSwipeLeft?: Function;
2224
onWillFullSwipeLeft?: Function;
25+
onFullSwipeRight?: Function;
26+
onWillFullSwipeRight?: Function;
2327
onDragStart?: Function;
2428
renderLeftActions?: (progressAnimatedValue: any, dragAnimatedValue: any) => any;
2529
renderRightActions?: (progressAnimatedValue: any, dragAnimatedValue: any) => any;
@@ -43,6 +47,7 @@ export default class Swipeable extends Component<PropType, StateType> {
4347
overshootFriction: number;
4448
useNativeAnimations: boolean;
4549
fullLeftThreshold: number;
50+
fullRightThreshold: number;
4651
};
4752
constructor(props: PropType);
4853
UNSAFE_componentWillUpdate(props: PropType, state: StateType): void;
@@ -58,7 +63,9 @@ export default class Swipeable extends Component<PropType, StateType> {
5863
_currentOffset: () => number;
5964
close: () => void;
6065
openLeft: () => void;
66+
openLeftFull: () => void;
6167
openRight: () => void;
68+
openRightFull: () => void;
6269
_onRowLayout: ({ nativeEvent }: {
6370
nativeEvent: any;
6471
}) => void;

0 commit comments

Comments
 (0)