-
Notifications
You must be signed in to change notification settings - Fork 4.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[RNMobile] Error Notice Improvements (#30273)
* added error notice styling. * made notice style a success variant to differentiate. * simplified notice implementation for audio block * removed background styling and used text styling for error notice. * utilized noticeStore for notice instead of HOC within the media container. * utilized withDispatch instead of useDispatch since this is a class comp. * Removed onError is not supported on MediaPlaceholder native. * Removed the onUploadError function and utilized createErrorNotice. * Updated error messages for the audio and media component. * Simplified text styles logic.
- Loading branch information
1 parent
8d4eef8
commit 564a6c0
Showing
4 changed files
with
48 additions
and
37 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters