swiftui image cut borders code example
Example: set image width and height swiftui
Image(room.thumbnailImage).resizable()
.frame(width: 32.0, height: 32.0)
Image(room.thumbnailImage).resizable()
.frame(width: 32.0, height: 32.0)