docs(data-table): use link with icon variant

This commit is contained in:
Eric Y Liu 2021-05-02 14:42:28 -07:00
commit b3a63f20f5

View file

@ -132,7 +132,7 @@ The slot name for the table header cells is `"cell-header"`.
</span> </span>
<span slot="cell" let:row let:cell> <span slot="cell" let:row let:cell>
{#if cell.key === 'rule' && cell.value === 'Round robin'} {#if cell.key === 'rule' && cell.value === 'Round robin'}
<Link inline href="https://en.wikipedia.org/wiki/Round-robin_DNS" target="_blank">{cell.value} <Launch16 /></Link> <Link icon={Launch16} href="https://en.wikipedia.org/wiki/Round-robin_DNS" target="_blank">{cell.value}</Link>
{:else} {:else}
{cell.value} {cell.value}
{/if} {/if}