Skip to content

Commit

Permalink
✨ :: chevron 버튼
Browse files Browse the repository at this point in the history
  • Loading branch information
lsh1202 committed Aug 1, 2024
1 parent 6a34395 commit 30c25f7
Show file tree
Hide file tree
Showing 112 changed files with 58 additions and 3,597 deletions.
33 changes: 33 additions & 0 deletions Sources/QDS/Component/Button/ChevronButton.swift
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
//
// SwiftUIView.swift
//
//
// Created by hyk on 8/1/24.
//

import SwiftUI

struct ChevronButton: View {
let action: () -> ()

init(action: @escaping () -> Void) {
self.action = action
}

var body: some View {
Button {
action()
} label: {
Image(qvick: .chevron)
.resizable()
.scaledToFit()
.frame(width: 18)
}
}
}

#Preview {
ChevronButton() {
print("나가기")
}
}
1 change: 1 addition & 0 deletions Sources/QDS/Foundation/Image/QvickImage.swift
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ public enum QvickImage: String {
case logo
case logoWithText
case smallLogo
case chevron
}

extension QvickImage {
Expand Down
Binary file not shown.
Binary file not shown.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

Loading

0 comments on commit 30c25f7

Please sign in to comment.