Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
maustinstar authored Jul 14, 2020
1 parent a4e246e commit afb34da
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,23 @@ Add a dependency in your your `Package.swift`

`.package(url: "https://github.com/maustinstar/swiftui-drawer.git", from: "0.0.0"),`

## Usage

Embed your view content in a `ZStack` with the Drawer as the last element.

```
ZStack {
ScrollView {
//...
}
Drawer(heights: [100, 340]) {
Color.blue
}
}
```

## Example 1


Expand Down

0 comments on commit afb34da

Please sign in to comment.