{#each methods as method (method.value)} {@const Icon = method.icon} {@const selected = value === method.value}
onSelect(method.value)} class="cursor-pointer rounded-sm border border-border-default p-4 text-left transition-colors {selected ? 'bg-background-default shadow-xs' : 'bg-background-subtle hover:bg-background-inset'}" >
{method.title}
{method.description}
{/each}