twihike / chat-ui-react Goto Github PK
View Code? Open in Web Editor NEW๐ฌ React component for conversational UI
Home Page: https://chat-ui-react-demo.netlify.app/
License: MIT License
๐ฌ React component for conversational UI
Home Page: https://chat-ui-react-demo.netlify.app/
License: MIT License
and if chat does not support this how can i add this
Hi,
is there easy way how to use messages with wikimarkup, or add time, users, tags to messages except rewriting MUIChat and MUIMessage component?
I'm looking into this library and would like to roll my own chatbox. However, it seems this library always requires importing MaterialUI, even when not used?
Hi,
when using JSXMessage a Warning: validateDOMNesting(...) is raised if the JSX element used as content uses elements that cannot be descendant of <p>
.
I think it's caused by these lines in MuiMessage.tsx :
<Typography variant="body1" style={{ overflowWrap: 'break-word', whiteSpace: 'pre-wrap' }} > {/* eslint-disable-next-line @typescript-eslint/ban-types */} {message.content as object} </Typography>
Probably if the message.content isn't a string it would be better to use a generic <div>
and not a <Typography>
that produces a <p>
element.
Thanks.
Can we add datatype information which we can pass in ActionRequest as is and use it in textfield (removing multiline and adding type as datatype will do)? Because a person may ask type 'password' or a type 'number' in the chat.
Thanks!`
I want to pass message list to chat controller and render it. But I'm not able to do so.
chatCtl.state.messages = response.data.Response.messages.map( (item) => ({ type: 'text', content: item.Description, self: item.Sender, createdAt: new Date(), }) );
The list is rendered only after a new message is typed and sent.
Can we update package to work with react 18?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.