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

Feature request: MessageInputFlat with custom UploadsPreview

Open robrechtme opened this issue 3 years ago • 2 comments

Hi 👋

I want to use a custom UploadsPreview in my message input.

Unfortunately, it is baked into MessageInputFlat, so I have to copy-paste the entire component just to change the UploadsPreview. It would be nice if this could be changed in a prop and passed into the componentContext, just like FileUploadIcon and SendButton already are.

Just a suggestion 😁. Let me know if you would like me to submit a PR.

robrechtme avatar Nov 30 '21 14:11 robrechtme

Thank you for the suggestion @robrechtme - if you feel like submitting a PR, we would gladly accept that.

Regards,

petyosi avatar Dec 07 '21 14:12 petyosi

I can look into it if I find the time 😁

robrechtme avatar Dec 15 '21 16:12 robrechtme

It is possible to customize uploads preview with AttachmentPreviewList component now. Passing it as a prop to Channel component.

MartinCupela avatar Feb 12 '24 10:02 MartinCupela