Skip to content

Instantly share code, notes, and snippets.

@d-srd
Created September 20, 2019 06:50
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save d-srd/6a55591a516f4b91004b4bfaa21e15e9 to your computer and use it in GitHub Desktop.
Save d-srd/6a55591a516f4b91004b4bfaa21e15e9 to your computer and use it in GitHub Desktop.
struct MessageListView: View {
let messages: [Message]
var body: some View {
ForEach(self.messages) { message in
MessageView(message: message)
.padding(.horizontal, 8)
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment