View as Markdown

API reference: @salmonui/chat/conversation

ConversationCustomActioninterface

import type { ConversationCustomAction } from '@salmonui/chat/conversation';
interface ConversationCustomAction {
    readonly id: string;
    readonly label: string;
    readonly icon?: ReactNode;
}
ConversationCustomAction members (3)
NameSignatureDescription
idreadonly id: string;
labelreadonly label: string;
iconoptionalreadonly icon?: ReactNode;