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

Make UnsupportedFileTypeOrFileSizeIndicator customizable

Open khushal87 opened this issue 3 years ago • 0 comments

Motivation The FileUploadPreview has an indicator for unsupported file types which isn't customizable yet. As a user, I want to customize the component UnsupportedFileTypeOrFileSizeIndicator using a prop from Channel/MessageInput whichever makes sense.

Proposed solution Adding a prop for the same which receives a user-defined component. If the prop isn't provided, the default UI should be rendered.

Acceptance Criteria

  • Adding the prop to customize the component.
  • Adding a customization guide wherever possible.

khushal87 avatar Jun 07 '22 06:06 khushal87