Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
NuPlay authored Apr 17, 2021
1 parent 163e3bf commit 4c712c2
Showing 1 changed file with 7 additions and 15 deletions.
22 changes: 7 additions & 15 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,29 +3,21 @@

<img width="711" alt="스크린샷 2021-04-17 오후 12 05 33" src="https://user-images.githubusercontent.com/73557895/115100275-828a6f80-9f76-11eb-9925-855fee8684e8.png">

| <img width="661" alt="스크린샷 2021-04-17 오후 12 12 59" src="https://user-images.githubusercontent.com/73557895/115100276-83bb9c80-9f76-11eb-9bb9-27c7dd648bc7.png"> | <img width="330" alt="스크린샷 2021-04-17 오후 12 13 16" src="https://user-images.githubusercontent.com/73557895/115100277-85856000-9f76-11eb-9918-812266ae21e2.png"> |
|----------------------------------------------------------------------------------------------------------------------------------------------------------------------- |----------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Code | PreView |

| <img width="840" alt="스크린샷 2021-04-17 오후 9 56 06" src="https://user-images.githubusercontent.com/73557895/115113957-d07b9380-9fc7-11eb-8642-c34d12a29dab.png"> | <img width="88" alt="스크린샷 2021-04-17 오후 9 56 11" src="https://user-images.githubusercontent.com/73557895/115113956-ceb1d000-9fc7-11eb-9f86-10eec19b2784.png"> |
|---------------------------------------------------------------------------------------------------------------------------------------------------------------------- |--------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Code | PreView |

```swift
import SwiftUI
import VText

struct VText_Test: View {

@State var text : String = "Hello, World!"
var body: some View {
VStack{
HStack(spacing: 32){
VText(text: "Hello World!")
VText(text: "Hello World!", fontWeight: .black, fontSize: 25, spacing: 10, alignment: .center)
}
HStack(spacing: 32){
VText(text: _text)
VText(text: _text, fontWeight: .bold, fontSize: 25, spacing: 10, alignment: .center)
}
}
}
```

## Known Issues

- If the number of texts decreases, it crashes, and if the number of texts increases, it is not displayed properly.
- ex) Hello = 5, Hi = 2

0 comments on commit 4c712c2

Please sign in to comment.