Props
{#each api.props ?? [] as prop}
{prop.name}
{#if prop.description}
{prop.description}
{/if}
{#if prop.isRequired}
Required
{/if}
{prop.value}
{prop.type ?? 'unknown'}
{:else}
No props
{/each}
{#if api.rest_props}
Remaining props are passed to underlying
{#if api.rest_props.type === 'InlineComponent'}
component
{:else}
element
{/if}
{/if}