You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
session-desktop/ts/components/conversation/MessageBody.md

1.2 KiB

<MessageBody
  text="Fire 🔥 http://somewhere.com\nSecond Line"
  i18n={util.i18n}
/>

Jumbo emoji

<MessageBody text="🔥" i18n={util.i18n} />
<MessageBody text="🔥🔥" i18n={util.i18n} />
<MessageBody text="🔥🔥🔥🔥" i18n={util.i18n} />
<MessageBody text="🔥🔥🔥🔥🔥🔥🔥🔥" i18n={util.i18n} />
<MessageBody text="🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥" i18n={util.i18n} />
<MessageBody text="🔥 text disables jumbomoji" i18n={util.i18n} />

Jumbomoji disabled

<MessageBody text="🔥" disableJumbomoji={true} i18n={util.i18n} />
<MessageBody text="http://somewhere.com" disableLinks={true} i18n={util.i18n} />
<MessageBody text="http://somewhere.com?s=🔥\nCool, huh?" i18n={util.i18n} />

Text pending

<MessageBody
  text="http://somewhere.com?s=🔥\nCool, huh?"
  textPending={true}
  i18n={util.i18n}
/>
<MessageBody
  text="http://somewhere.com?s=🔥\nCool, huh?"
  textPending={true}
  disableLinks={true}
  i18n={util.i18n}
/>