Skip to content

Commit

Permalink
🧑‍💻 Extend Image for external module access
Browse files Browse the repository at this point in the history
- Created an extension of `Image` to expose ImageResource to external modules
  • Loading branch information
WhiteHyun committed Jan 27, 2024
1 parent 4c99b19 commit f9c6b63
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions Shared/Sources/DesignSystem/Sources/Image+Resource.swift
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
//
// Image+Resource.swift
//
//
// Created by 홍승현 on 1/28/24.
//

import SwiftUI

public extension Image {
static let cu: Image = .init(.CU)
static let gs25: Image = .init(.GS_25)
static let _7Eleven: Image = .init(._7Eleven)
static let emart24: Image = .init(.emart24)
static let ministop: Image = .init(.ministop)
}

0 comments on commit f9c6b63

Please sign in to comment.