mime-chat/src/render/shared/connectionStatus.ts
2021-06-24 08:57:29 -05:00

12 lines
212 B
TypeScript

// shared
import { ref } from "vue";
export const status = ref("");
export const setConnectionStatus: IpcListenerCallback<string> = (payload) => {
status.value = payload;
};
export default {
status
};