Skip to content

Commit 993ca37

Browse files
committed
reeadme updateing
1 parent ec58446 commit 993ca37

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

README.md

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@ import { MessageBox } from 'react-chat-elements/native';
6262
14. [SpotifyMessage](#spotifymessage-component)
6363
15. [MeetingItem](#meetingitem-component)
6464
16. [MeetingList](#meetinglist-component)
65+
17. [MeetingLink](#meetinglink-component)
6566

6667
## ChatItem Component
6768

@@ -154,6 +155,7 @@ import { MessageBox } from 'react-chat-elements'
154155
| onReplyMessageClick | none | function | reply message on click event |
155156
| onRemoveMessageClick | none | function | message remove on click event |
156157
| onMeetingMoreSelect | none | function | message list item onMeetingMoreSelect event, gets 3 parameters: message item, index of item, event |
158+
| onMeetingLinkClick | none | function | meeting link on click event |
157159
| onContextMenu | none | function | message contextmenu click event |
158160
| forwarded | none | boolean | message forward icon |
159161
| replyButton | none | boolean | message reply icon |
@@ -251,6 +253,26 @@ import { MeetingMessage } from 'react-chat-elements'
251253
| onMeetingVideoLinkClick | none | function | meeting video link message on click event (message(object) is returned) |
252254
| onMeetingMoreSelect | none | function | message list item onMeetingMoreSelect event, gets 3 parameters: message item, index of item, event |
253255

256+
257+
## MeetingLink Component
258+
259+
![meetinglink-photo](https://user-images.githubusercontent.com/53093667/152175228-4fcb5d83-8a54-4378-8cb3-c85f939e510f.png)
260+
261+
```javascript
262+
import { MeetingLink } from 'react-chat-elements'
263+
<MeetingLink
264+
meetingID='1'
265+
title='Lorem ipsum dolor sit amet.'/>
266+
```
267+
268+
#### MeetingLink props
269+
270+
| prop | default | type | description |
271+
| ---- | ---- | ---- | ---- |
272+
| meetingID | none | string | Meeting Link id |
273+
| title | none | string | Meeting Link title |
274+
| onMeetingLinkClick | none | function | meeting link on click event |
275+
254276
## SystemMessage Component
255277

256278
```javascript

0 commit comments

Comments
 (0)