Closed jimmykane closed 1 year ago
import React from 'react'; import * as styles from '@chatscope/chat-ui-kit-styles/dist/default/styles.min.css'; import { MessageInput, ChatContainer, ConversationHeader, Avatar, VoiceCallButton, VideoCallButton, InfoButton, MessageList, TypingIndicator, Message, } from '@chatscope/chat-ui-kit-react';
I get
Cannot find module '@chatscope/chat-ui-kit-styles/dist/default/styles.min.css' or its corresponding type declarations.
Thank your for your time
@jimmykane This should work:
import "@chatscope/chat-ui-kit-styles/dist/default/styles.min.css";
Thais correct thanks
I get
Cannot find module '@chatscope/chat-ui-kit-styles/dist/default/styles.min.css' or its corresponding type declarations.
Thank your for your time