Skip to content

Commit ae9589d

Browse files
committed
fix(bottomsheet): fix typings and optional parameters
1 parent 786b63f commit ae9589d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/bottomsheet/bottomsheet-common.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ export interface BottomSheetOptions {
4141
disableDimBackground?: boolean; // optional parameter to remove the dim background
4242
skipCollapsedState?: boolean; // optional Android parameter to skip midway state when view is greater than 50%. Default is false
4343
peekHeight?: number; // optional parameter to set the collapsed sheet height. To work on iOS you need to set trackingScrollView.
44-
ignoreKeyboardHeight: boolean; //(iOS only) A Boolean value that controls whether the height of the keyboard should affect the bottom sheet's frame when the keyboard shows on the screen. (Default: true)
44+
ignoreKeyboardHeight? : boolean; //(iOS only) A Boolean value that controls whether the height of the keyboard should affect the bottom sheet's frame when the keyboard shows on the screen. (Default: true)
4545
onChangeState?: onChangeStateBottomSheet; // One works to be called on the scroll of the sheet. Parameters: state (CLOSED, DRAGGING, DRAGGING, COLLAPSED) and slideOffset is the new offset of this bottom sheet within [-1,1] range. Offset increases as this bottom sheet is moving upward. From 0 to 1 the sheet is between collapsed and expanded states and from -1 to 0 it is between hidden and collapsed states.
4646
}
4747

0 commit comments

Comments
 (0)