mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-15 10:21:05 +00:00
chore: regenerate component docs [ci skip]
This commit is contained in:
parent
56718c633d
commit
998757691b
5 changed files with 33 additions and 14 deletions
|
@ -63,9 +63,9 @@
|
|||
</style>
|
||||
|
||||
<p style="margin-bottom: var(--cds-layout-02)">
|
||||
View component
|
||||
<Link href="{source}" target="_blank">
|
||||
source code
|
||||
Component source code:
|
||||
<Link size="lg" href="{source}" target="_blank">
|
||||
{component.filePath}
|
||||
<Launch16 />
|
||||
</Link>
|
||||
</p>
|
||||
|
@ -138,7 +138,9 @@
|
|||
<StructuredListCell>
|
||||
{#if prop.description}
|
||||
{#each prop.description.split('\n') as line}
|
||||
<div class="description">{@html line.replace(/`(.*?)`/g, '<code>$1</code>')}.</div>
|
||||
<div class="description">
|
||||
{@html line.replace(/`(.*?)`/g, '<code>$1</code>')}.
|
||||
</div>
|
||||
{/each}
|
||||
{:else}
|
||||
<div class="description">No description available.</div>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue