mirror of
https://github.com/element-plus/element-plus.git
synced 2024-12-27 03:01:14 +08:00
6b017045ae
* feat(components): button-group add size * feat(components): add size validator * docs: complete docs * fix(components): fix typo * refactor(components): move and rename tokens * refactor(components): change size type * fix: button-group reactive size
10 lines
248 B
TypeScript
10 lines
248 B
TypeScript
import type { InjectionKey } from 'vue'
|
|
|
|
import type { ComponentSize } from '@element-plus/utils/types'
|
|
|
|
export interface ElButtonGruopContext {
|
|
size?: ComponentSize
|
|
}
|
|
|
|
export const elButtonGroupKey: InjectionKey<ElButtonGruopContext> = Symbol()
|