UNPKG

element-plus

Version:

A Component Library for Vue3.0

15 lines (14 loc) 461 B
import type { InjectionKey } from 'vue'; declare type IModelType = boolean | string | number; export interface RadioGroupContext { name: 'ElRadioGroup'; modelValue: IModelType; fill: string; textColor: string; disabled: boolean; size: ComponentSize; radioGroupSize: ComponentSize; changeEvent: (val: IModelType) => void; } declare const radioGroupKey: InjectionKey<RadioGroupContext>; export default radioGroupKey;