diff --git a/Source/DDS/Component/Avatar/Avatar.swift b/Source/DDS/Component/Avatar/Avatar.swift index 287c9c8..0163c72 100644 --- a/Source/DDS/Component/Avatar/Avatar.swift +++ b/Source/DDS/Component/Avatar/Avatar.swift @@ -27,6 +27,11 @@ public struct DodamAvatar: View { private let url: String? private let size: Size + init(url: String?, size: Size) { + self.url = url + self.size = size + } + public static func extraSmall(url: String?) -> DodamAvatar { .init(url: url, size: .extraSmall) }