mirror of
https://github.com/element-plus/element-plus.git
synced 2024-11-27 02:01:15 +08:00
13 lines
315 B
TypeScript
13 lines
315 B
TypeScript
import type { InjectionKey } from 'vue'
|
|
|
|
import type { ButtonProps } from '@element-plus/components/button'
|
|
|
|
export interface ButtonGroupContext {
|
|
size?: ButtonProps['size']
|
|
type?: ButtonProps['type']
|
|
}
|
|
|
|
export const buttonGroupContextKey: InjectionKey<ButtonGroupContext> = Symbol(
|
|
'buttonGroupContextKey'
|
|
)
|