elk/constants/symbols.ts

9 lines
280 B
TypeScript
Raw Normal View History

import type { InjectionKey, Ref } from 'vue'
import type { FontSize } from '~/types'
2023-01-03 11:58:08 +00:00
export const InjectionKeyFontSize: InjectionKey<Ref<FontSize>> = Symbol('font-size')
export const InjectionKeyDropdownContext: InjectionKey<{
hide: () => void
}> = Symbol('dropdown-context')