Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
dokar3 committed Jul 30, 2023
1 parent 22dde28 commit 7221864
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ Another rich-feature BottomSheet in Jetpack Compose.
```


### Peek support:
### Peek support

```kotlin
BottomSheet(
Expand All @@ -43,8 +43,14 @@ Another rich-feature BottomSheet in Jetpack Compose.
### Customizable animations

```kotlin
// In some callback
// Animation off
state.expand(animated = false)

// Default
state.expand(animationSpec = spring())

// Slow animation
state.expand(animationSpec = tween(durationMillis = 2000))
```


Expand Down

0 comments on commit 7221864

Please sign in to comment.