Skip to content

Commit

Permalink
Add drawerLockMode to DrawerLayoutProperties (software-mansion#620)
Browse files Browse the repository at this point in the history
  • Loading branch information
alex-fournier authored and osdnk committed Jun 3, 2019
1 parent cd2e4af commit 2d1a280
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions react-native-gesture-handler.d.ts
Expand Up @@ -486,6 +486,8 @@ declare module 'react-native-gesture-handler/DrawerLayout' {

export type DrawerType = 'front' | 'back' | 'slide';

export type DrawerLockMode = 'unlocked' | 'locked-closed' | 'locked-open';

export type DrawerKeyboardDismissMode = 'none' | 'on-drag';

export interface DrawerLayoutProperties {
Expand All @@ -495,6 +497,7 @@ declare module 'react-native-gesture-handler/DrawerLayout' {
drawerPosition?: DrawerPosition;
drawerWidth?: number;
drawerBackgroundColor?: string;
drawerLockMode?: DrawerLockMode;
keyboardDismissMode?: DrawerKeyboardDismissMode;
onDrawerClose?: () => void;
onDrawerOpen?: () => void;
Expand Down

0 comments on commit 2d1a280

Please sign in to comment.