9 lines
230 B
TypeScript
9 lines
230 B
TypeScript
import type { InjectionKey, Ref } from 'vue'
|
|
|
|
export interface DialogContext {
|
|
open: Ref<boolean>
|
|
titleId: string
|
|
descriptionId: string
|
|
}
|
|
|
|
export const DialogContextKey: InjectionKey<DialogContext> = Symbol('DialogContext')
|