Skip to content

MessageActions

Hover actions for an assistant message: copy its text and (optionally) regenerate it.

Source

import { MessageActions } from "@flanksource/clicky-ui/chat";
Default · Open in Storybook
Copy Only · Open in Storybook

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.