Skip to content

Commit

Permalink
refactor: updated animateOnMount default value to true
Browse files Browse the repository at this point in the history
  • Loading branch information
gorhom committed Jul 29, 2021
1 parent e447da4 commit 6293fe4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/components/bottomSheet/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ const DEFAULT_ENABLE_CONTENT_PANNING_GESTURE = true;
const DEFAULT_ENABLE_HANDLE_PANNING_GESTURE = true;
const DEFAULT_ENABLE_OVER_DRAG = true;
const DEFAULT_ENABLE_PAN_DOWN_TO_CLOSE = false;
const DEFAULT_ANIMATE_ON_MOUNT = false;
const DEFAULT_ANIMATE_ON_MOUNT = true;

// keyboard
const DEFAULT_KEYBOARD_BEHAVIOR = KEYBOARD_BEHAVIOR.interactive;
Expand Down
2 changes: 1 addition & 1 deletion src/components/bottomSheet/types.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ export interface BottomSheetProps
/**
* To start the sheet closed and snap to initial index when it's mounted.
* @type boolean
* @default false
* @default true
*/
animateOnMount?: boolean;
//#endregion
Expand Down

0 comments on commit 6293fe4

Please sign in to comment.