{#each rows as row, rowIndex (rowIndex)}
{#each row as button, colIndex (colIndex)} {@const key = `${rowIndex}:${colIndex}`} {#if button.kind === "url" && button.url}
{button.text}
↗
{:else if button.kind === "callback" && button.data}
copy(key, button.data ?? "")} >
{copied === key ? "Скопировано" : button.text}
{:else}
{button.text}
{/if} {/each}
{/each}