diff --git a/README.md b/README.md index 607e564..f0b2c26 100644 --- a/README.md +++ b/README.md @@ -10,7 +10,7 @@
-🐬 FlexibleBottomSheet is an advanced Jetpack Compose bottom sheet that allows you to implement segmented sizing and non-modal type, similar to Google Maps. It also offers additional conveniences, including specifying sheet sizes, monitoring sheet states, and more customization. +🐬 FlexibleBottomSheet is an advanced Jetpack Compose Multiplatform bottom sheet that allows you to implement segmented sizing and non-modal type, similar to Google Maps. It also offers additional conveniences, including specifying sheet sizes, monitoring sheet states, and more customization.
@@ -36,6 +36,22 @@ dependencies { } ``` +For Kotlin Multiplatform, add the dependency below to your **module**'s `build.gradle.kts` file: + +```gradle +sourceSets { + val commonMain by getting { + dependencies { + // compose material + implementation("com.github.skydoves:flexible-bottomsheet-material:$version") + + // compose material3 + implementation("com.github.skydoves:flexible-bottomsheet-material3:$version") + } + } +} +``` + ## Usage You can implement a flexible bottom sheet with `FlexibleBottomSheet`, similar to the `ModalBottomSheet` provided by [Compose Material 3](https://developer.android.com/jetpack/androidx/releases/compose-material3). Essentially, you can achieve the same behavior as `ModalBottomSheet` by not altering any properties.