Skip to content

Commit

Permalink
Expose material3 as an API dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
saket committed Dec 23, 2023
1 parent 8e69bc3 commit 1938b2e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ implementation "androidx.compose.material3:material3:…" // https://d.android.c
```

```diff
- import androidx.compose.material3.Slider
+ import me.saket.squiggles.SquigglySlider

- Slider(
+ SquigglySlider(
value = sliderValue,
Expand Down
6 changes: 3 additions & 3 deletions library/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@ kotlin {
sourceSets {
val commonMain by getting {
dependencies {
implementation(compose.ui)
implementation(compose.foundation)
implementation(compose.material3)
api(compose.ui)
api(compose.foundation)
api(compose.material3)
}
}

Expand Down

0 comments on commit 1938b2e

Please sign in to comment.