UNPKG

wetrade-design

Version:

一款多语言支持Vue3的UI框架

19 lines (18 loc) 591 B
import type { RadioProps } from './Radio'; import type { Ref } from 'vue'; export interface RadioChangeEventTarget extends RadioProps { checked: boolean; } export declare type RadioGroupButtonStyle = 'outline' | 'solid'; export declare type RadioGroupOptionType = 'default' | 'button'; export interface RadioChangeEvent { target: RadioChangeEventTarget; stopPropagation: () => void; preventDefault: () => void; nativeEvent: MouseEvent; } export interface RadioGroupContext { stateValue: Ref; props: RadioProps; onRadioChange: (e: RadioChangeEvent) => void; }