Skip to content

Commit

Permalink
- updated reamde
Browse files Browse the repository at this point in the history
  • Loading branch information
Kashif-E committed Nov 7, 2024
1 parent 8799bf2 commit 2499559
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions README.MD
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,14 @@ fun VoyagerNavigation() {
Pass the `Navigator` as the content and `BottomSheetNavigator` as the wrapper.
- Instead of using methods of voyager library like `push` use `pushX` instead. Similar
for `BottomSheetNavigator` use `showX` instead of `show`
- ```Kotlin
fun BottomSheetNavigator.showX(
screen: Screen,
skipHalfExpanded: Boolean = false,
fixedHeight: Double = 0.0
)
```
showX has two extra parameters `skipHalfExpanded` and `fixedHeight` which are optional and can be used to skip the half expanded state and set the fixed height of the bottom sheet respectively for IOS.

**Navigation Compose**

Expand Down

0 comments on commit 2499559

Please sign in to comment.