Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
.navigationBarItems(
leading: Button {
print("Pressed edit button")
} label: {
Text("Edit")
},
trailing: Button {
print("Pressed compose button")
} label: {
Image(systemName: "square.and.pencil")
}
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment