mirror of
https://github.com/khairul169/vaulterm.git
synced 2026-09-15 17:03:30 +07:00
feat: add team member role change & removal, add uptime server stats, etc
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
import { createDisclosure } from "@/lib/utils";
|
||||
|
||||
export type DialogData = {
|
||||
title: string;
|
||||
description?: string;
|
||||
onConfirm?: () => void;
|
||||
onCancel?: () => void;
|
||||
};
|
||||
|
||||
export const dialogStore = createDisclosure<DialogData>();
|
||||
|
||||
export const showDialog = (data: DialogData) => {
|
||||
dialogStore.onOpen(data);
|
||||
};
|
||||
Reference in New Issue
Block a user