(event: React.KeyboardEvent)
| 53 | }; |
| 54 | |
| 55 | const handleKeyDown = (event: React.KeyboardEvent) => { |
| 56 | if (event.key === "Enter" && !event.shiftKey && !isInIME) { |
| 57 | event.preventDefault(); |
| 58 | handleSend(); |
| 59 | } |
| 60 | }; |
| 61 | |
| 62 | return ( |
| 63 | <div className="w-full h-auto flex flex-row justify-between items-end border dark:border-zinc-700 rounded-lg px-2 py-1 relative shadow bg-white dark:bg-zinc-800"> |
nothing calls this directly
no test coverage detected