diff --git a/Sources/Epoxy/Row/EmptyRow.swift b/Sources/Epoxy/Row/EmptyRow.swift index 570da2c..bb1acf6 100644 --- a/Sources/Epoxy/Row/EmptyRow.swift +++ b/Sources/Epoxy/Row/EmptyRow.swift @@ -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 + } } }