Skip to content

Commit

Permalink
Merge pull request #48 from RakuyoKit/fix/init-access
Browse files Browse the repository at this point in the history
fix: Fix not opening `init` of the EmptyRow’s `Style`
  • Loading branch information
rakuyoMo authored Jun 18, 2024
2 parents 4a71dff + e854548 commit a0ff614
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions Sources/Epoxy/Row/EmptyRow.swift
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,22 @@ extension EmptyRow {

public let borderWidth: CGFloat
public let borderColor: UIColor?

public init(
size: OptionalCGSize? = nil,
backgroundColor: ConvertibleToColor? = nil,
cornerRadius: CGFloat = 0,
masksToBounds: Bool = false,
borderWidth: CGFloat = 0,
borderColor: ConvertibleToColor? = nil
) {
self.size = size
self.backgroundColor = backgroundColor?.color
self.cornerRadius = cornerRadius
self.masksToBounds = masksToBounds
self.borderWidth = borderWidth
self.borderColor = borderColor?.color
}
}
}

Expand Down

0 comments on commit a0ff614

Please sign in to comment.