Skip to content

Commit 321643e

Browse files
authored
chore(docs): fix incorrect component usage in Message component example (#98)
Replace non-existent Input component with PromptInput in both import and template usage
1 parent 25f0b1f commit 321643e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

apps/www/content/3.components/1.chatbot/message.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -648,7 +648,7 @@ import {
648648
MessageResponse,
649649
} from '@/components/ai-elements/message'
650650
import {
651-
Input,
651+
PromptInput,
652652
PromptInputSubmit,
653653
PromptInputTextarea,
654654
} from '@/components/ai-elements/prompt-input'
@@ -707,7 +707,7 @@ function handleSubmit() {
707707
<ConversationScrollButton />
708708
</Conversation>
709709
710-
<Input
710+
<PromptInput
711711
class="mt-4 w-full max-w-2xl mx-auto relative"
712712
@submit.prevent="handleSubmit"
713713
>
@@ -721,7 +721,7 @@ function handleSubmit() {
721721
:disabled="!input.trim()"
722722
class="absolute bottom-1 right-1"
723723
/>
724-
</Input>
724+
</PromptInput>
725725
</div>
726726
</div>
727727
</template>

0 commit comments

Comments
 (0)