From 7d7e5c9725f8dfc12ab6d1460bdaf0156e136cfd Mon Sep 17 00:00:00 2001 From: NuPlay <73557895+NuPlay@users.noreply.github.com> Date: Sat, 17 Apr 2021 12:23:33 +0900 Subject: [PATCH] Update README.md --- README.md | 30 +++++++++++++++++++++++++++++- 1 file changed, 29 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index ab019c3..25c8086 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,31 @@ # VText +![VTextBanner](https://user-images.githubusercontent.com/73557895/115100289-9e8e1100-9f76-11eb-8b16-964f9871b71f.png) -A description of this package. +스크린샷 2021-04-17 오후 12 05 33 + +| 스크린샷 2021-04-17 오후 12 12 59 | 스크린샷 2021-04-17 오후 12 13 16 | +|----------------------------------------------------------------------------------------------------------------------------------------------------------------------- |----------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| Code | PreView | + + +```swift +import SwiftUI +import VText + +struct VText_Test: View { + + var body: some View { + VStack{ + HStack(spacing: 32){ + VText(text: "Hello World!") + VText(text: "Hello World!", fontWeight: .black, 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