export interface SelectItem {
  id: number;
  label?: string;
  value: string;
  disabled?: boolean;
}

export interface AbSettingProps {
  label: string | (() => string);
  type: 'input' | 'switch' | 'select' | 'dynamic-tags';
  css?: string;
  prop?: any;
  bottomLine?: boolean;
}

export type SettingItem<T> = AbSettingProps & {
  configKey: keyof T;
};
