import type { Component } from 'svelte'; import type { ClassValue } from 'svelte/elements'; import type { IconName } from './icon'; export interface RadioOption { label: string; value: string; description?: string; disabled?: boolean; icon?: IconName; /** Additional CSS classes for the option's leading icon. */ iconCX?: ClassValue; /** Additional CSS classes for the option's label text. */ labelCX?: ClassValue; components?: (Component | string)[]; componentsProps?: Record[]; alwaysShowComponents?: boolean; errorMessage?: string; }