Skip to content

Commit 08d0791

Browse files
white space clear
1 parent ac253fc commit 08d0791

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

README.md

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ import { ChatItem } from 'react-chat-elements'
103103

104104
| file | photo | text | location | video |
105105
| ---- | ---- | ---- | ---- | ---- |
106-
| ![file-message](https://user-images.githubusercontent.com/15075759/29243524-786baf8c-7fa9-11e7-92b2-3960cc34fcf4.png) | ![photo-message](https://user-images.githubusercontent.com/15075759/29243556-1368c4e8-7faa-11e7-9fdd-57b67542c381.png) | ![text-message](https://user-images.githubusercontent.com/15075759/29243573-a809456e-7faa-11e7-97b4-d258bc6a7728.png) | ![location-message](https://user-images.githubusercontent.com/15075759/30582943-2b3338aa-9d2e-11e7-93d5-8614563b9217.png) | ![](https://user-images.githubusercontent.com/15075759/98530021-74ca1300-228f-11eb-88ab-5ae5ae33616d.png)
106+
| ![file-message](https://user-images.githubusercontent.com/15075759/29243524-786baf8c-7fa9-11e7-92b2-3960cc34fcf4.png) | ![photo-message](https://user-images.githubusercontent.com/15075759/29243556-1368c4e8-7faa-11e7-9fdd-57b67542c381.png) | ![text-message](https://user-images.githubusercontent.com/15075759/29243573-a809456e-7faa-11e7-97b4-d258bc6a7728.png) | ![location-message](https://user-images.githubusercontent.com/15075759/30582943-2b3338aa-9d2e-11e7-93d5-8614563b9217.png) | ![](https://user-images.githubusercontent.com/15075759/98530021-74ca1300-228f-11eb-88ab-5ae5ae33616d.png)
107107

108108

109109
```javascript
@@ -126,13 +126,13 @@ import { MessageBox } from 'react-chat-elements'
126126

127127
| prop | default | type | description |
128128
| ---- | ---- | ---- | ---- |
129-
| id | i (index) | string | message box id |
130-
| position | left | string | message box position |
131-
| type | text | string | message type (text, photo, file, location, spotify, video) |
132-
| text | none | string | message text |
133-
| title | none | string | message title |
134-
| titleColor | none | string(color) | message title color |
135-
| data | {} | object | message data |
129+
| id | i (index) | string | message box id |
130+
| position | left | string | message box position |
131+
| type | text | string | message type (text, photo, file, location, spotify, video) |
132+
| text | none | string | message text |
133+
| title | none | string | message title |
134+
| titleColor | none | string(color) | message title color |
135+
| data | {} | object | message data |
136136
| date | new Date() | Date | message date |
137137
| dateString | none | string | message represents dateString or timeagojs(now, date) |
138138
| onClick | none | function | message on click (message(object) is returned) |
@@ -256,7 +256,7 @@ import { SystemMessage } from 'react-chat-elements'
256256

257257
| prop | default | type | description |
258258
| ---- | ---- | ---- | ---- |
259-
| text| none | string | message text |
259+
| text| none | string | message text |
260260

261261

262262
## MessageList Component
@@ -594,7 +594,7 @@ import { LocationMessage } from 'react-chat-elements'
594594
| apiKey | none | string | google staticmap api key |
595595
| zoom | 14 | int | google staticmap zoom level |
596596
| markerColor | red | string | google staticmap marker color |
597-
| data | {} | object | message data |
597+
| data | {} | object | message data |
598598
| target | _blank | string | image a tag target prop |
599599
| onOpen | none | function | image on open |
600600

@@ -620,7 +620,7 @@ import { SpotifyMessage } from 'react-chat-elements'
620620
| uri | none | uri | spotify uri |
621621
| theme | black | string | spotify theme color (black or white) |
622622
| view | list | string | spotify view type (list or coverart) |
623-
| data | {} | object | message data |
623+
| data | {} | object | message data |
624624
| width | 300 | int | spotify embed width |
625625
| height | 380 | int | spotify embed height |
626626

0 commit comments

Comments
 (0)