Created
September 20, 2019 06:50
-
-
Save d-srd/6a55591a516f4b91004b4bfaa21e15e9 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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