feat(message-actions): move to separate components

This commit is contained in:
ItzCrazyKns 2024-05-31 11:02:37 +05:30
parent dcbcab3122
commit cf0abbb9d2
No known key found for this signature in database
GPG key ID: 8162927C7CCE3065
5 changed files with 64 additions and 54 deletions

View file

@ -2,7 +2,8 @@ import { cn } from '@/lib/utils';
import { ArrowUp } from 'lucide-react';
import { useEffect, useState } from 'react';
import TextareaAutosize from 'react-textarea-autosize';
import { Attach, CopilotToggle } from './MessageInputActions';
import Attach from './MessageInputActions/Attach';
import CopilotToggle from './MessageInputActions/Copilot';
const MessageInput = ({
sendMessage,