Text Message

  • An entry in the conversation for displaying text
  • It takes the text as a child of the component
  • It takes no parameters

An example of TextMsg markup is:

<TimelineMessage>
  <TextMsg>Hello there!</TextMsg>
  <TextMsg>Whats your name?</TextMsg>
</TimelineMessage>

If you would like to add a new line within a TextMsg, you can do so as follows

<TimelineMessage>
  <TextMsg>Hello  \n there!</TextMsg>
</TimelineMessage>