File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -13,8 +13,10 @@ defineOptions({
13
13
})
14
14
15
15
const props = withDefaults (defineProps <{
16
+ placeholder? : string
16
17
themes? : MaybeArray <ThemeRegistrationAny >
17
18
}>(), {
19
+ placeholder: ' AI prompt' ,
18
20
themes : () => [catppuccinLatte , catppuccinMocha ],
19
21
})
20
22
@@ -70,7 +72,8 @@ onBeforeUnmount(() => {
70
72
<div class =" [& >.shiki]:p-4 [& >.shiki]:min-h-16" v-html =" output" />
71
73
<textarea
72
74
v-model =" model"
73
- class =" absolute focus-within:outline-none inset-0 top-0 left-0 p-4 text-transparent bg-transparent caret-black resize-none overflow-hidden z-10"
75
+ :placeholder =" placeholder"
76
+ class =" absolute focus-within:outline-none inset-0 top-0 left-0 p-4 text-transparent bg-transparent caret-black resize-none overflow-hidden z-10 placeholder:text-gray-500/40"
74
77
autocapitalize =" off"
75
78
autocomplete =" off"
76
79
autocorrect =" off"
You can’t perform that action at this time.
0 commit comments