Skip to content

Commit

Permalink
📝 Clore: #1 - 악세서리 이미지 기본값 nil로 넣자!
Browse files Browse the repository at this point in the history
  • Loading branch information
usa4060 committed Oct 25, 2023
1 parent 484f830 commit b5a378c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion DesignSystem/Sources/CMCButton.swift
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ public final class CMCButton: UIView{
/// - iconTitle : 버튼의 이미지를 설정합니다. (nil이면 icon을 사용 안한다는 의미)
/// - buttonType : 버튼의 타입을 결정함 ( ex: fill, outline, boldOutline )
/// - title: 버튼의 타이틀을 설정합니다.
public init(isRound: Bool, iconTitle: String?, type: CMCButtonType, title: String) {
public init(isRound: Bool, iconTitle: String? = nil, type: CMCButtonType, title: String) {
self.isRound = isRound
self.iconTitle = iconTitle
self.type = type
Expand Down

0 comments on commit b5a378c

Please sign in to comment.