From 3744932b9cc54b0bd8a7da3635ed0c895c6b2501 Mon Sep 17 00:00:00 2001 From: sozohoy Date: Fri, 1 Mar 2024 19:02:51 +0900 Subject: [PATCH] add: Components(#43) --- SUWIKI/SUWIKI/Utils/Component/FilledStar.swift | 18 ++++++++++++++++++ SUWIKI/SUWIKI/Utils/Component/Stars.swift | 18 ++++++++++++++++++ .../SUWIKI/Utils/Component/UnFilledStar.swift | 18 ++++++++++++++++++ 3 files changed, 54 insertions(+) create mode 100644 SUWIKI/SUWIKI/Utils/Component/FilledStar.swift create mode 100644 SUWIKI/SUWIKI/Utils/Component/Stars.swift create mode 100644 SUWIKI/SUWIKI/Utils/Component/UnFilledStar.swift diff --git a/SUWIKI/SUWIKI/Utils/Component/FilledStar.swift b/SUWIKI/SUWIKI/Utils/Component/FilledStar.swift new file mode 100644 index 00000000..667ff5b0 --- /dev/null +++ b/SUWIKI/SUWIKI/Utils/Component/FilledStar.swift @@ -0,0 +1,18 @@ +// +// FilledStar.swift +// SUWIKI +// +// Created by 한지석 on 2/29/24. +// + +import SwiftUI + +struct FilledStar: View { + var body: some View { + Text(/*@START_MENU_TOKEN@*/"Hello, World!"/*@END_MENU_TOKEN@*/) + } +} + +#Preview { + FilledStar() +} diff --git a/SUWIKI/SUWIKI/Utils/Component/Stars.swift b/SUWIKI/SUWIKI/Utils/Component/Stars.swift new file mode 100644 index 00000000..09b036bd --- /dev/null +++ b/SUWIKI/SUWIKI/Utils/Component/Stars.swift @@ -0,0 +1,18 @@ +// +// Stars.swift +// SUWIKI +// +// Created by 한지석 on 2/29/24. +// + +import SwiftUI + +struct Stars: View { + var body: some View { + Text(/*@START_MENU_TOKEN@*/"Hello, World!"/*@END_MENU_TOKEN@*/) + } +} + +#Preview { + Stars() +} diff --git a/SUWIKI/SUWIKI/Utils/Component/UnFilledStar.swift b/SUWIKI/SUWIKI/Utils/Component/UnFilledStar.swift new file mode 100644 index 00000000..00dcf3b5 --- /dev/null +++ b/SUWIKI/SUWIKI/Utils/Component/UnFilledStar.swift @@ -0,0 +1,18 @@ +// +// UnFilledStar.swift +// SUWIKI +// +// Created by 한지석 on 2/29/24. +// + +import SwiftUI + +struct UnFilledStar: View { + var body: some View { + Text(/*@START_MENU_TOKEN@*/"Hello, World!"/*@END_MENU_TOKEN@*/) + } +} + +#Preview { + UnFilledStar() +}