This commit is contained in:
Aakiyaru 2025-05-27 18:59:07 +07:00
parent 2647f5836c
commit a6a2354bc5
5 changed files with 63 additions and 0 deletions

View File

@ -0,0 +1,39 @@
//
// SwiftUIView.swift
// UIKitComponents
//
// Created by User on 27.05.2025.
//
import SwiftUI
struct ButtonWKWEB: View {
let title: String
let vk: Bool
var body: some View {
Button {
//
} label: {
HStack(spacing: 0){
Image(vk ? "VK" : "Yandex", bundle: .module)
.padding(.trailing, 16)
Text("Войти с VK")
.tracking(0)
.lineSpacing(24)
.foregroundStyle(Color.black)
.robotoFlex(size: 17, font: .medium)
}.frame(maxWidth: .infinity)
.frame(height: 60)
.overlay {
RoundedRectangle(cornerRadius: 12)
.stroke(lineWidth: 1)
.foregroundStyle(Color("hex#EBEBEB", bundle: .module))
}
}
}
}
#Preview {
ButtonWKWEB(title: "Djnqb", vk: false)
}

View File

@ -0,0 +1,12 @@
{
"images" : [
{
"filename" : "VKH4 logo.pdf",
"idiom" : "universal"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}

Binary file not shown.

View File

@ -0,0 +1,12 @@
{
"images" : [
{
"filename" : "Vector.pdf",
"idiom" : "universal"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}

Binary file not shown.