mirror of
https://github.com/wassname/talk.git
synced 2026-09-10 12:43:11 +08:00
Add some docs
This commit is contained in:
@@ -1,3 +1,8 @@
|
||||
/**
|
||||
* createNotificationService returns a notification services based on toast.
|
||||
* @param {Object} toast
|
||||
* @return {Object} notification service
|
||||
*/
|
||||
export function createNotificationService(toast) {
|
||||
return {
|
||||
success(msg) {
|
||||
|
||||
Reference in New Issue
Block a user