{#if selected_demo}
{ selected_demo.requirements = e.detail.split("\n"); }} language="text" lines={10} readonly={false} dark_mode={false} />
{#if generation_error}
{generation_error}
{:else if current_code}

Prompt will update code in editor

{:else}

Note: This is still an experimental feature. The generated code may be incorrect.

{/if}
{/if}

Preview

{#if !fullscreen}{:else} {/if}