feat: Add CallButton component and integrate with SendButton for improved messaging functionality

This commit is contained in:
Marco Beretta 2024-12-17 22:22:39 +01:00 committed by Danny Avila
parent 52a6de2aa7
commit 12d7028a18
No known key found for this signature in database
GPG key ID: BF31EEB2C5CA0956
5 changed files with 115 additions and 20 deletions

View file

@ -1,3 +1,4 @@
import { useWatch } from 'react-hook-form';
import { memo, useRef, useMemo, useEffect, useState } from 'react';
import { useRecoilState, useRecoilValue } from 'recoil';
import {
@ -31,6 +32,7 @@ import AudioRecorder from './AudioRecorder';
import { mainTextareaId } from '~/common';
import CollapseChat from './CollapseChat';
import StreamAudio from './StreamAudio';
import CallButton from './CallButton';
import StopButton from './StopButton';
import SendButton from './SendButton';
import Mention from './Mention';