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 28, 2023
1 parent 081179f commit 77d7369
Showing 1 changed file with 16 additions and 10 deletions.
26 changes: 16 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,19 +64,11 @@ val state = rememberBottomSheetState(

### Material 2 and Material 3

Mateiral 2:

```kotlin
implementation("io.github.dokar3:sheets:latest_version")

// Material 2:
import com.dokar.sheets.BottomSheet
```

Material 3:

```kotlin
implementation("io.github.dokar3:sheets-m3:latest_version")

// Material 3:
import com.dokar.sheets.m3.BottomSheet
```

Expand All @@ -98,6 +90,20 @@ Box {
}
```

# Usage

### Material 2

```kotlin
implementation("io.github.dokar3:sheets:latest_version")
```

### Material 3

```kotlin
implementation("io.github.dokar3:sheets-m3:latest_version")
```

# License

```
Expand Down

0 comments on commit 77d7369

Please sign in to comment.