property ChatEditBoxProps.onSave

Receives the trimmed text, only when it changed and can be sent.

Type

(body: string) => void

Usage

import { type ChatEditBoxProps } from "src/components/chat/ChatEditBox.tsx";