mirror of
https://github.com/element-plus/element-plus.git
synced 2024-12-21 02:50:11 +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()
|