fix: remove unused libraries #1306 (#1649)

### What problem does this PR solve?
fix: remove unused libraries  #1306


### Type of change

- [x] Bug Fix (non-breaking change which fixes an issue)
This commit is contained in:
balibabu
2024-07-23 15:03:58 +08:00
committed by GitHub
parent 792a1a9d91
commit 022afbb39d
7 changed files with 80 additions and 147 deletions

View File

@ -1,45 +0,0 @@
// RCE CSS
import { MessageList } from 'react-chat-elements';
import 'react-chat-elements/dist/main.css';
const ChatBox = () => {
return (
<div style={{ width: 600 }}>
{/* <MessageBox
position={'left'}
type={'photo'}
text={'react.svg'}
data={{
uri: 'https://facebook.github.io/react/img/logo.svg',
status: {
click: false,
loading: 0,
},
}}
/> */}
<MessageList
// referance={messageListReferance}
className="message-list"
lockable={true}
toBottomHeight={'100%'}
dataSource={[
{
position: 'right',
type: 'text',
text: 'Lorem ipsum dolor sit amet',
date: new Date(),
},
{
position: 'left',
type: 'text',
text: 'Lorem ipsum dolor sit amet',
date: new Date(),
},
]}
/>
</div>
);
};
export default ChatBox;