Update dependency @livekit/components-react to v1.5.3 (#15)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: lukasIO <mail@lukasseiler.de>
This commit is contained in:
parent
26720c3389
commit
69ce3757ae
6
package-lock.json
generated
6
package-lock.json
generated
@ -306,9 +306,9 @@
|
||||
}
|
||||
},
|
||||
"node_modules/@livekit/components-react": {
|
||||
"version": "1.5.2",
|
||||
"resolved": "https://registry.npmjs.org/@livekit/components-react/-/components-react-1.5.2.tgz",
|
||||
"integrity": "sha512-1PlvgxxN7vr9YKRBq3dMy5rvLQ6zWpwoxbQ6HFj3oOMDvrcyT6e5rTpLhW9jnTBaT8iqBUPIFi+OsrPvBPeHmQ==",
|
||||
"version": "1.5.3",
|
||||
"resolved": "https://registry.npmjs.org/@livekit/components-react/-/components-react-1.5.3.tgz",
|
||||
"integrity": "sha512-OL2BhyltXz4GTEmTPZPMehBMoWWNILTqHClPpFLJyM3KLnk2lLvaH9QWwlbqIJVr6vkm39pvq39ckv6GKa7jJw==",
|
||||
"dependencies": {
|
||||
"@livekit/components-core": "0.8.3",
|
||||
"@react-hook/latest": "1.0.3",
|
||||
|
||||
@ -1,5 +1,6 @@
|
||||
import { ChatMessage } from "@/components/chat/ChatMessage";
|
||||
import { ChatMessageInput } from "@/components/chat/ChatMessageInput";
|
||||
import { ChatMessage as ComponentsChatMessage } from "@livekit/components-react";
|
||||
import { useEffect, useRef } from "react";
|
||||
|
||||
const inputHeight = 48;
|
||||
@ -14,7 +15,7 @@ export type ChatMessageType = {
|
||||
type ChatTileProps = {
|
||||
messages: ChatMessageType[];
|
||||
accentColor: string;
|
||||
onSend?: (message: string) => Promise<void>;
|
||||
onSend?: (message: string) => Promise<ComponentsChatMessage>;
|
||||
};
|
||||
|
||||
export const ChatTile = ({ messages, accentColor, onSend }: ChatTileProps) => {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user