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