Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Animal Row for each animal in Safari Animals
// MARK: - Frameworks
import SwiftUI
// MARK: - AnimalRow
struct AnimalRow: View {
var animal: Animal
var body: some View {
HStack {
Text(animal.name)
Spacer()
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment