diff --git a/custom/fitness-demo/components/Call/ChatAside.js b/custom/fitness-demo/components/Call/ChatAside.js index 706cb12..74d0b53 100644 --- a/custom/fitness-demo/components/Call/ChatAside.js +++ b/custom/fitness-demo/components/Call/ChatAside.js @@ -4,6 +4,7 @@ import Button from '@custom/shared/components/Button'; import { TextInput } from '@custom/shared/components/Input'; import { useParticipants } from '@custom/shared/contexts/ParticipantsProvider'; import { useUIState } from '@custom/shared/contexts/UIStateProvider'; +import { ReactComponent as IconEmoji } from '@custom/shared/icons/emoji-sm.svg'; import { useChat } from '../../contexts/ChatProvider'; import { useMessageSound } from '../../hooks/useMessageSound'; @@ -16,6 +17,7 @@ export const ChatAside = () => { const { localParticipant } = useParticipants(); const [newMessage, setNewMessage] = useState(''); const playMessageSound = useMessageSound(); + const [showEmojis, setShowEmojis] = useState(false); const chatWindowRef = useRef(); @@ -57,7 +59,67 @@ export const ChatAside = () => { ))} + {showEmojis && ( +