feat(ui, localization): Move attachment limit exceeded error to translations

Signed-off-by: xsahil03x <[email protected]>
This commit is contained in:
Sahil Kumar
2021-08-11 18:14:43 +05:30
committed by xsahil03x
parent 9dba5a61d2
commit 0b33c258f5
10 changed files with 50 additions and 4 deletions
@@ -10,6 +10,9 @@
- `GalleryHeader`
- `GalleryFooter`
- `ThreadHeader`
- Added `MessageInput.attachmentLimit` in order to limit the no. of attachments that can be sent with a single message.
- Added `MessageInput.onAttachmentLimitExceed` callback which will be called when the `attachmentLimit` is exceeded.
This will override the default error alert behaviour.
🔄 Changed