{#each row as button, colIndex (colIndex)}
{@const key = `${rowIndex}:${colIndex}`}
{@const lit = marks.length > 0 && buttonHasMark(button, marks)}
{#if button.kind === "url" && button.url}
{button.text}
↗
{:else if button.kind === "callback" && button.data}
{:else}
{button.text}
{/if}
{/each}