mirror of
https://github.com/wassname/talk.git
synced 2026-07-06 05:17:19 +08:00
10 lines
245 B
JavaScript
10 lines
245 B
JavaScript
import {pym} from 'coral-framework';
|
|
|
|
export const addNotification = (notifType, text) => {
|
|
pym.sendMessage('coral-alert', `${notifType}|${text}`);
|
|
};
|
|
|
|
export const clearNotification = () => {
|
|
pym.sendMessage('coral-clear-notification');
|
|
};
|