feat(notification): add custom notification component support (#5605)
* feat: add custom notification component support * update the documentation of UINotificationService to support custom component integration --------- Co-authored-by: trenser-belbin <belbin.kunjumon@prenuvo.com>
This commit is contained in:
1 parent
fd86a9e3e8
commit
c4e5a4616d
3 files changed
+51
-9
No files matched your search
@@ -34,12 +34,14 @@ is expected to support, [check out it's interface in `@ohif/core`][interface]
|
||||
| ---------- | --------------------------------------- |
|
||||
| `hide()` | Hides the specified notification |
|
||||
| `show()` | Creates and displays a new notification |
|
||||
| `customComponent()` | Overrides the default Notification component |
|
||||
|
||||
## Implementations
|
||||
|
||||
| Implementation | Consumer |
|
||||
| ---------------------------------------- | ----------------------------------------- |
|
||||
| [Snackbar Provider][snackbar-provider]\* | [SnackbarContainer][snackbar-container]\* |
|
||||
| customComponent | user extensions via `setServiceImplementation({customComponent: Snackbar})` |
|
||||
|
||||
`*` - Denotes maintained by OHIF
|
||||
|
||||
|
||||
Reference in new issue
Block a user