Update README.md

This commit is contained in:
Ivan Vorobei
2019-06-26 14:31:41 +03:00
parent 130bb5ad21
commit 38c68d686e

View File

@@ -103,7 +103,7 @@ In preview I am use `Spring` animation for all cards:
For button using `SFSymbols` pack with ready-use icons. Also support customisable weight:
```
```swift
Image(systemName: show ? "slash.circle.fill" : "slash.circle")
.font(Font.title.weight(.semibold))
```
@@ -112,7 +112,7 @@ Image(systemName: show ? "slash.circle.fill" : "slash.circle")
For change state using `@State` as property:
```
```swift
@State var show = false
```
@@ -120,7 +120,7 @@ For change state using `@State` as property:
Size of area attach to state of property `show`:
```
```swift
.frame(width: show ? 350 : 290, height: show ? 420 : 260)
```