mirror of
https://gitee.com/element-plus/element-plus.git
synced 2024-12-15 18:01:24 +08:00
93f0a35905
* feat(components): [el-button-group] add type prop * fix breadcrumb import
11 lines
287 B
TypeScript
11 lines
287 B
TypeScript
import type { InjectionKey } from 'vue'
|
|
|
|
import type { ButtonProps } from '@element-plus/components/button'
|
|
|
|
export interface ElButtonGroupContext {
|
|
size?: ButtonProps['size']
|
|
type?: ButtonProps['type']
|
|
}
|
|
|
|
export const elButtonGroupKey: InjectionKey<ElButtonGroupContext> = Symbol()
|