2018-05-18 14:48:20 -07:00
|
|
|
### All components: emoji, links, newline
|
2018-05-14 13:52:10 -07:00
|
|
|
|
|
|
|
```jsx
|
2018-05-22 12:31:43 -07:00
|
|
|
<MessageBody
|
|
|
|
text="Fire 🔥 http://somewhere.com\nSecond Line"
|
|
|
|
i18n={util.i18n}
|
|
|
|
/>
|
2018-05-14 13:52:10 -07:00
|
|
|
```
|
|
|
|
|
|
|
|
### Jumbo emoji
|
|
|
|
|
|
|
|
```jsx
|
2018-05-22 12:31:43 -07:00
|
|
|
<MessageBody text="🔥" i18n={util.i18n} />
|
2018-05-14 13:52:10 -07:00
|
|
|
```
|
|
|
|
|
|
|
|
```jsx
|
2018-05-22 12:31:43 -07:00
|
|
|
<MessageBody text="🔥🔥" i18n={util.i18n} />
|
2018-05-14 13:52:10 -07:00
|
|
|
```
|
|
|
|
|
|
|
|
```jsx
|
2018-05-22 12:31:43 -07:00
|
|
|
<MessageBody text="🔥🔥🔥🔥" i18n={util.i18n} />
|
2018-05-14 13:52:10 -07:00
|
|
|
```
|
|
|
|
|
|
|
|
```jsx
|
2018-05-22 12:31:43 -07:00
|
|
|
<MessageBody text="🔥🔥🔥🔥🔥🔥🔥🔥" i18n={util.i18n} />
|
2018-05-14 13:52:10 -07:00
|
|
|
```
|
|
|
|
|
|
|
|
```jsx
|
2018-05-22 12:31:43 -07:00
|
|
|
<MessageBody text="🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥" i18n={util.i18n} />
|
2018-05-14 13:52:10 -07:00
|
|
|
```
|
|
|
|
|
2018-05-23 12:17:25 -07:00
|
|
|
```jsx
|
2018-05-22 12:31:43 -07:00
|
|
|
<MessageBody text="🔥 text disables jumbomoji" i18n={util.i18n} />
|
2018-05-23 12:17:25 -07:00
|
|
|
```
|
|
|
|
|
2018-05-18 14:48:20 -07:00
|
|
|
### Jumbomoji disabled
|
2018-05-14 13:52:10 -07:00
|
|
|
|
|
|
|
```jsx
|
2019-03-13 13:38:28 -07:00
|
|
|
<MessageBody text="🔥" disableJumbomoji={true} i18n={util.i18n} />
|
2018-05-14 13:52:10 -07:00
|
|
|
```
|
|
|
|
|
2018-05-18 14:48:20 -07:00
|
|
|
### Links disabled
|
2018-05-14 13:52:10 -07:00
|
|
|
|
|
|
|
```jsx
|
2019-03-13 13:38:28 -07:00
|
|
|
<MessageBody text="http://somewhere.com" disableLinks={true} i18n={util.i18n} />
|
2018-05-14 13:52:10 -07:00
|
|
|
```
|
2019-01-02 11:56:33 -08:00
|
|
|
|
|
|
|
### Emoji in link
|
|
|
|
|
|
|
|
```jsx
|
|
|
|
<MessageBody text="http://somewhere.com?s=🔥\nCool, huh?" i18n={util.i18n} />
|
|
|
|
```
|
2019-03-13 13:38:28 -07:00
|
|
|
|
|
|
|
### Text pending
|
|
|
|
|
|
|
|
```jsx
|
|
|
|
<MessageBody
|
|
|
|
text="http://somewhere.com?s=🔥\nCool, huh?"
|
|
|
|
textPending={true}
|
|
|
|
i18n={util.i18n}
|
|
|
|
/>
|
|
|
|
```
|
|
|
|
|
|
|
|
### Text pending, disable links
|
|
|
|
|
|
|
|
```jsx
|
|
|
|
<MessageBody
|
|
|
|
text="http://somewhere.com?s=🔥\nCool, huh?"
|
|
|
|
textPending={true}
|
|
|
|
disableLinks={true}
|
|
|
|
i18n={util.i18n}
|
|
|
|
/>
|
|
|
|
```
|