export const RemoteSelectProps = {
  api: {
    type: Function as PropType<(param: any) => Promise<any>>,
    required: true
  },
  value: {
    type: String
  },
  subLabelProp: {
    type: String
  },
  requestProp: {
    type: String
  },
  responseLabelProp: {
    type: String
  },
  responseValProp: {
    type: String
  },
  placeholder: {
    type: String
  },
  isRoot: {
    type: Boolean
  },
  width: {
    type: String
  },
  disabled: {
    type: Boolean,
    default: false
  },
  showDisabled: {
    type: Boolean,
    default: false
  },
  prop: {
    type: String,
    default: () => "list"
  }
};
