|
@@ -6,6 +6,7 @@
|
|
const dispatch = createEventDispatcher();
|
|
const dispatch = createEventDispatcher();
|
|
|
|
|
|
export let suggestionPrompts = [];
|
|
export let suggestionPrompts = [];
|
|
|
|
+ export let className = '';
|
|
|
|
|
|
let prompts = [];
|
|
let prompts = [];
|
|
|
|
|
|
@@ -21,7 +22,7 @@
|
|
</div>
|
|
</div>
|
|
{/if}
|
|
{/if}
|
|
|
|
|
|
-<div class=" h-40 max-h-full overflow-auto scrollbar-none">
|
|
|
|
|
|
+<div class=" h-40 max-h-full overflow-auto scrollbar-none {className}">
|
|
{#each prompts as prompt, promptIdx}
|
|
{#each prompts as prompt, promptIdx}
|
|
<button
|
|
<button
|
|
class="flex flex-col flex-1 shrink-0 w-full justify-between px-3 py-2 rounded-xl bg-transparent hover:bg-black/5 dark:hover:bg-white/5 transition group"
|
|
class="flex flex-col flex-1 shrink-0 w-full justify-between px-3 py-2 rounded-xl bg-transparent hover:bg-black/5 dark:hover:bg-white/5 transition group"
|