feat: Moves vendor branch views to their own files, starts to implement snapshot testing for html
This commit is contained in:
@@ -10,4 +10,9 @@ enum Img {
|
||||
static func search(width: Int = 30, height: Int = 30) -> some HTML<HTMLTag.img> {
|
||||
img(.src("/images/search.svg"), .width(width), .height(height))
|
||||
}
|
||||
|
||||
@Sendable
|
||||
static func trashCan(width: Int = 30, height: Int = 30) -> some HTML<HTMLTag.img> {
|
||||
img(.src("/images/trash-can.svg"), .width(width), .height(height))
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user