UNPKG

y-design-ssr

Version:

SSR component library of YUI with Vue3

29 lines (28 loc) 734 B
import { ExtractPropTypes } from 'vue'; export declare const radioGroupProps: { modelValue: { type: (StringConstructor | NumberConstructor)[]; default: string; }; disabled: { type: BooleanConstructor; default: boolean; }; square: { type: BooleanConstructor; default: null; }; horizontal: { type: BooleanConstructor; default: boolean; }; checkedColor: { type: StringConstructor; default: null; }; }; export type RadioGroupPropKeys = keyof ExtractPropTypes<typeof radioGroupProps>; export interface RadioGroupProvide { props: ExtractPropTypes<typeof radioGroupProps>; onItemChange: (name: string) => void; }