|
1 | 1 | <details open> |
| 2 | +<summary>12.0.4 Updates</summary> |
| 3 | +<br> |
| 4 | + |
| 5 | +# Meeting Link changes |
| 6 | + |
| 7 | +## You can render custom meeting link action buttons |
| 8 | + |
| 9 | +### New usage; |
| 10 | + |
| 11 | +```js |
| 12 | + |
| 13 | +import { MeetlingLink } from 'react-chat-elements' |
| 14 | + |
| 15 | +<MeetlingLink |
| 16 | + actionButtons={[ |
| 17 | + { |
| 18 | + onClickButton: test => { |
| 19 | + console.log(test) |
| 20 | + }, |
| 21 | + Component: () => <div>Test</div>, |
| 22 | + }, |
| 23 | + { |
| 24 | + onClickButton: test => { |
| 25 | + console.log(test) |
| 26 | + }, |
| 27 | + Component: () => <div>Test</div>, |
| 28 | + }, |
| 29 | + ]} |
| 30 | + . |
| 31 | + . |
| 32 | + . |
| 33 | +/> |
| 34 | +``` |
| 35 | + |
| 36 | +### In MessageList component usage; |
| 37 | + |
| 38 | +```js |
| 39 | +import { MessageList } from 'react-chat-elements' |
| 40 | + |
| 41 | +<MessageList |
| 42 | + actionButtons={[ |
| 43 | + { |
| 44 | + onClickButton: test => { |
| 45 | + console.log(test) |
| 46 | + }, |
| 47 | + Component: () => <div>Test</div>, |
| 48 | + }, |
| 49 | + { |
| 50 | + onClickButton: test => { |
| 51 | + console.log(test) |
| 52 | + }, |
| 53 | + Component: () => <div>Test</div>, |
| 54 | + }, |
| 55 | + ]} |
| 56 | + . |
| 57 | + . |
| 58 | + . |
| 59 | +/> |
| 60 | +``` |
| 61 | + |
| 62 | +</details> |
| 63 | + |
| 64 | +<br> |
| 65 | + |
| 66 | +<details > |
| 67 | +<summary>12.0.0 Updates</summary> |
| 68 | +<br> |
| 69 | + |
| 70 | +# typescript support |
| 71 | + |
| 72 | +</details> |
| 73 | +<br> |
| 74 | + |
| 75 | +<details> |
2 | 76 | <summary>11.0.0 Updates</summary> |
3 | 77 | <br> |
4 | 78 |
|
5 | 79 | This update target to fix component ref broken problems |
6 | 80 |
|
7 | 81 | Fixed issues: |
8 | 82 |
|
9 | | -- https://github.com/Detaysoft/react-chat-elements/issues/158 |
10 | | -- https://github.com/Detaysoft/react-chat-elements/issues/157 |
11 | | -- https://github.com/Detaysoft/react-chat-elements/issues/142 |
| 83 | +- https://github.com/Detaysoft/react-chat-elements/issues/158 |
| 84 | +- https://github.com/Detaysoft/react-chat-elements/issues/157 |
| 85 | +- https://github.com/Detaysoft/react-chat-elements/issues/142 |
12 | 86 |
|
13 | 87 | 1. All react-chat-elements components turneded to function component for "ref" property problems. |
14 | 88 |
|
|
0 commit comments