kopia lustrzana https://github.com/shoelace-style/shoelace
show default slot better
rodzic
0971153a74
commit
23b56b4053
|
@ -112,11 +112,11 @@
|
|||
${slots
|
||||
.map(
|
||||
slot => `
|
||||
<tr>
|
||||
<td class="nowrap"><code>${escapeHtml(slot.name)}</code></td>
|
||||
<td>${escapeHtml(slot.description)}</td>
|
||||
</tr>
|
||||
`
|
||||
<tr>
|
||||
<td class="nowrap">${slot.name ? `<code>${escapeHtml(slot.name)}</code>` : '(default)'}</td>
|
||||
<td>${escapeHtml(slot.description)}</td>
|
||||
</tr>
|
||||
`
|
||||
)
|
||||
.join('')}
|
||||
</tbody>
|
||||
|
|
Ładowanie…
Reference in New Issue