Skip to content

button-group

button-group

ts
import type { ButtonGroupProps } from '@/ui/components/ButtonGroup.vue'
import type { ComputedRef, InjectionKey } from 'vue'

export const buttonGroupInjectionKey: InjectionKey<ComputedRef<{
  size: ButtonGroupProps['size']
  orientation: ButtonGroupProps['orientation']
}>> = Symbol('vue-ui.button-group')
ts
import type { ButtonGroupProps } from '@/UI/Components/ButtonGroup.vue'
import type { ComputedRef, InjectionKey } from 'vue'

export const buttonGroupInjectionKey: InjectionKey<ComputedRef<{
  size: ButtonGroupProps['size']
  orientation: ButtonGroupProps['orientation']
}>> = Symbol('vue-ui.button-group')