property ChatMessageItemProps.onDelete

Called once the user has confirmed.

Type

(id: string) => void

Usage

import { type ChatMessageItemProps } from "src/components/chat/ChatMessageItem.tsx";