@@ -86,7 +86,7 @@ import { ChatItem } from 'react-chat-elements'
8686| title | none | string | ChatItem title |
8787| subtitle | none | string | ChatItem subtitle |
8888| date | none | date | ChatItem date |
89- | dateString | none | string | ChatItem represents dateString or moment( date).fromNow( ) |
89+ | dateString | none | string | ChatItem represents dateString or timeagojs(now, date) |
9090| unread | 0 | int | ChatItem unread count |
9191| onClick | none | function | ChatItem on click |
9292| onContextMenu | none | function | ChatItem on context menu |
@@ -131,7 +131,7 @@ import { MessageBox } from 'react-chat-elements'
131131| titleColor | none | string(color) | message title color |
132132| data | {} | object | message data |
133133| date | new Date() | Date | message date |
134- | dateString | none | string | message represents dateString or moment( date).fromNow( ) |
134+ | dateString | none | string | message represents dateString or timeagojs(now, date) |
135135| onClick | none | function | message on click (message(object) is returned) |
136136| onOpen | none | function | message on open (file or photo) (message(object) is returned) |
137137| onDownload | none | function | message on download (file or photo) (message(object) is returned) |
@@ -501,4 +501,4 @@ import { SpotifyMessage } from 'react-chat-elements'
501501| view | list | string | spotify view type (list or coverart) |
502502| data | {} | object | message data |
503503| width | 300 | int | spotify embed width |
504- | height | 380 | int | spotify embed height |
504+ | height | 380 | int | spotify embed height |
0 commit comments