diff --git a/ts/components/conversation/Message.md b/ts/components/conversation/Message.md index 0152fa227..262ec7db4 100644 --- a/ts/components/conversation/Message.md +++ b/ts/components/conversation/Message.md @@ -34,6 +34,31 @@ const View = Whisper.MessageView; ``` +### In a group conversation + +```jsx +const outgoing = new Whisper.Message({ + type: 'outgoing', + body: 'How are you doing this fine day?', + sent_at: Date.now() - 18000, +}); +const incoming = new Whisper.Message(Object.assign({}, outgoing.attributes, { + source: '+12025550003', + type: 'incoming', +})); +const View = Whisper.MessageView; + + + + +``` + ### With an attachment #### Image with caption diff --git a/ts/components/conversation/Quote.md b/ts/components/conversation/Quote.md index fb6920e94..ae4cd87d4 100644 --- a/ts/components/conversation/Quote.md +++ b/ts/components/conversation/Quote.md @@ -88,7 +88,7 @@ const incoming = new Whisper.Message(Object.assign({}, outgoing.attributes, { }), })); const View = Whisper.MessageView; - + { public render() { - const { theme, conversationType } = this.props; + const { theme, type } = this.props; return (
-
+
    {this.props.children}