set image width and height swiftui

Swift
Image(room.thumbnailImage).resizable()
.frame(width: 32.0, height: 32.0)
Source

Also in Swift: