react-chat-elements icon indicating copy to clipboard operation
react-chat-elements copied to clipboard

Not able to render custom component in message box

Open zaahmed-nisum-com opened this issue 2 years ago • 2 comments

<MessageBox styles={{ border: 'solid' }} classNam="message" type={'text'} renderAddCmp={() => { return (<div className='message-c'>) }} /> and/or

<MessageBox styles={{ border: 'solid' }} classNam="message" type={'te'} renderAddCmp={<CustomMessage />} />

zaahmed-nisum-com avatar Feb 07 '23 20:02 zaahmed-nisum-com

Fixed in 12.0.8

emregudur avatar Feb 13 '23 07:02 emregudur

This issue still exist. The text out of the message box is the returned content from renderAddCmp. image

JJack27 avatar Apr 14 '23 06:04 JJack27