{#each config as [_mode, label], i}
onChange(_mode)} selected={_mode === mode} shape={getButtonShape(i)} />
{/each}