import { AnyTranslatable } from './language.types'; import { CarrierIdentifier } from './config.types'; export type OptionsProps = { options: SelectOption[]; }; interface BaseSelectOption { carrier?: CarrierIdentifier; disabled?: boolean; ecoFriendly?: number; icon?: string; image?: string; label?: AnyTranslatable; price?: number; selected?: boolean; value: Value; } export type SelectOptionValue = string | object | boolean; export interface SelectOption extends BaseSelectOption { label: T; } export {};