MessageActions
Hover actions for an assistant message: copy its text and (optionally) regenerate it.
Import
Section titled “Import”import { MessageActions } from "@flanksource/clicky-ui/chat";The props table documents the component-specific surface. Standard DOM attributes inherited from React, such as className, event handlers, and accessibility attributes, may also be accepted when the component’s prop type extends a native element.
| Prop | Type | Default | Description |
|---|---|---|---|
className |
string |
— | — |
onRegenerate |
(…) => … |
— | Called to re-generate this assistant message. Omit to hide the control. |
text* |
string |
— | Plain-text content of the message, copied to the clipboard. |