docs(expandable-tile): add "With interactive content" example (#1465)

* style(docs): apply `code-01` styles to component api type, default value

* docs(expandable-tile): add "With interactive content" example (#1464)

* docs(overflow-menu): do not open flipped example by default
This commit is contained in:
metonym 2022-08-27 11:30:02 -07:00 committed by GitHub
commit 6ec48312ff
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 40 additions and 17 deletions

View file

@ -95,16 +95,18 @@
{type}
</OutboundLink>
{:else if type in typeMap}
<code>{typeMap[type]}</code>
<code class="code-01">{typeMap[type]}</code>
{:else if type.startsWith("(")}
<code>{type}</code>
<code class="code-01">{type}</code>
{:else}
<InlineSnippet code="{type}" />
{/if}
</div>
{/each}
</StructuredListCell>
<StructuredListCell><code>{prop.value}</code></StructuredListCell>
<StructuredListCell
><code class="code-01">{prop.value}</code></StructuredListCell
>
<StructuredListCell>
{#if prop.description}
{#each prop.description.split("\n") as line}