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

Theme for the FileUploadPreview component

Open wildvalcom opened this issue 6 years ago • 3 comments

Describe the bug Impossible to apply custom styles for the FileUploadPreview component.

Dev environment info:

  • Package version 0.13 (stream-chat-react-native)
  • react-native

Expected behavior It should be possible to apply custom styles through the theme, as for the ImageUploadPreview component: https://github.com/GetStream/stream-chat-react-native/blob/a9f454bae06930138d4351cd3097815f8ebdbe57/src/components/ImageUploadPreview.js

Additional context All the existed styles of the FileUploadPreview component are hardcoded: https://github.com/GetStream/stream-chat-react-native/blob/a9f454bae06930138d4351cd3097815f8ebdbe57/src/components/FileUploadPreview.js

gz#4456

wildvalcom avatar Jul 15 '20 16:07 wildvalcom

Agent comment from Stephen Hodgetts in Zendesk ticket #4456:

Assigned to Vishal Narkhede​

shodgetts avatar Jul 15 '20 18:07 shodgetts

Hey @wildvalcom thanks for bringing this up. We will add custom style support as soon as possible and get back to you!

vishalnarkhede avatar Jul 17 '20 09:07 vishalnarkhede

@wildvalcom whenever the next release is made this should be resolved from the recently merged PR

virdesai avatar Sep 04 '20 15:09 virdesai