Skip to content

Commit

Permalink
[MOD] Platform based modifiers section added to readme.
Browse files Browse the repository at this point in the history
  • Loading branch information
EnesKaraosman committed Feb 3, 2021
1 parent cafd7ad commit ff7a8b2
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,16 @@ Table of Contents

# Extensions

### Platform based modifiers

```swift
AwesomeView()
.iOS { $0.background(Color.gray) }
.macOS { $0.background(Color.green) }
.tvOS { $0.background(Color.blue) }
.watchOS { $0.background(Color.red) }
```

# Views

## Image Picker
Expand Down

0 comments on commit ff7a8b2

Please sign in to comment.