style(component-api): use flush, condensed structured list for prop table

This commit is contained in:
Eric Y Liu 2021-07-03 15:06:44 -07:00
commit 6d168baa51

View file

@ -4,6 +4,7 @@
slots: [], slots: [],
events: [], events: [],
rest_props: undefined, rest_props: undefined,
typedefs: [],
}; };
import { import {
@ -51,9 +52,7 @@
{#if component.props.length > 0} {#if component.props.length > 0}
<div class="overflow"> <div class="overflow">
<StructuredList <StructuredList flush condensed>
style="margin-left: calc(-1 * var(--cds-spacing-05)); margin-right: calc(-1 * var(--cds-spacing-05))"
>
<StructuredListHead> <StructuredListHead>
<StructuredListRow head> <StructuredListRow head>
<StructuredListCell head>Prop name</StructuredListCell> <StructuredListCell head>Prop name</StructuredListCell>