mirror of
https://github.com/element-plus/element-plus.git
synced 2024-11-27 02:01:15 +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')
|