onComponentChosen(component.name)}>
{splitName(component.name).componentName}
{#if (component.presets || templatesByComponent[component.name]) && component.name === selectedComponent}
{/if}
{#if component.presets || templatesByComponent[component.name]}