property PendingItemProps.onRestore

Takes the failed text back into the composer, and discards it.

Type

(pending: PendingChatMessage) => void

Usage

import { type PendingItemProps } from "src/components/chat/PendingItem.tsx";