import type { RadioBoxGroupProps } from "@/components/form/RadioGroup.vue";

export interface RadioIdFieldOption {
  text: string,
  value: string|number,
}

export interface RadioIdFieldProps extends Omit<RadioBoxGroupProps, 'modelValue'> {
  /**
   * 加载选项数据
   * @returns 
   */
  loadData: () => Promise<RadioIdFieldOption[]>;
}