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