mirror of
https://gitee.com/element-plus/element-plus.git
synced 2024-12-15 09:50:58 +08:00
10 lines
317 B
TypeScript
10 lines
317 B
TypeScript
|
import type { RadioGroupProps } from '@element-plus/components'
|
||
|
import type { InjectionKey } from 'vue'
|
||
|
|
||
|
export interface RadioGroupContext extends RadioGroupProps {
|
||
|
changeEvent: (val: RadioGroupProps['modelValue']) => void
|
||
|
}
|
||
|
|
||
|
export const radioGroupKey: InjectionKey<RadioGroupContext> =
|
||
|
Symbol('radioGroupKey')
|