Comments (3)
Hi, can you try this type?
from react-chat-elements.
@emregudur if what you said
This line is wrong
react-chat-elements/src/type.d.ts
Line 1087 in 08d9745
export class MessageBox extends React.Component<IMessageBoxProps> {}
should be
export class MessageBox extends React.Component<MessageBoxType> {}
from react-chat-elements.
While waiting for a merged fix is it possible to "fix" in a consumer project without touching the types.d.ts
in node_modules
?
I tried with a custom fix.d.ts
file without success,
import React from "react";
import type { MessageBoxType } from "react-chat-elements";
import { MessageBox } from 'react-chat-elements';
declare module 'react-chat-elements' {
export class MessageBox extends React.Component<MessageBoxType> { }
}
If someone has code to show here it will be appreciated
from react-chat-elements.
Related Issues (20)
- How to render HTML in MessageList Component ? HOT 2
- Question: Max width of messagebox using MessageList. HOT 1
- Question: Scrolling to the bottom. HOT 1
- Please upgrade to react 18 HOT 6
- React 18 support merged in but not available via npm? HOT 4
- How to set the background-color of chatItem ? HOT 2
- Getting error using MessageBox, IMessageBoxProps is not extending IMessage as described in the docs HOT 6
- Is there a way to set the background-color of message bubbles? HOT 2
- How to show loading status in messageList component?
- How to disable download option on images HOT 1
- MessageList downButton prop not true by default anymore
- Display chat in message body HOT 1
- Support HTMl tags in message HOT 2
- MessageBox Images are Stretched
- how to get text value from Input and add it to message list?
- Translate message date
- Is there any way to render a custom component inside the chat message? HOT 1
- Cannot identify how to customize the components? HOT 1
- messageBox props asking so many props HOT 2
- Customizing MessageBox HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from react-chat-elements.