button.ts 326 B

123456789101112
  1. import type { InjectionKey } from 'vue'
  2. import type { ButtonProps } from '@kankan-components/components/basic/button'
  3. export interface ButtonGroupContext {
  4. size?: ButtonProps['size']
  5. type?: ButtonProps['type']
  6. }
  7. export const buttonGroupContextKey: InjectionKey<ButtonGroupContext> = Symbol(
  8. 'buttonGroupContextKey'
  9. )