feat: add InjectionKey exports
This commit is contained in:
parent
baf6161d95
commit
7aeecdb656
1 changed files with 6 additions and 0 deletions
6
src/keys.ts
Normal file
6
src/keys.ts
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
import type { InjectionKey, Ref } from "vue";
|
||||||
|
|
||||||
|
export const isWarnKey: InjectionKey<Ref<boolean>> = Symbol("isWarnKey");
|
||||||
|
export const nsfwKey: InjectionKey<Ref<boolean>> = Symbol("nsfwKey");
|
||||||
|
export const showModalKey: InjectionKey<Function> = Symbol("showModalKey");
|
||||||
|
export const modalResultKey: InjectionKey<Function> = Symbol("modalResultKey");
|
Loading…
Add table
Add a link
Reference in a new issue