When to use it
Pass disabled while streaming; Copy stays available. Retry and rating only report intent.
Apple availability
Import LumenUI in the target that uses this component. iPad support follows the iOS package baseline and uses native iPad layout behavior.
Native example
Pass disabled while streaming; Copy stays available. Retry and rating only report intent.
import LumenUI
import SwiftUI
struct AnswerActionsExample: View {
@State private var rating: LumenMessageFeedback?
var body: some View {
LumenMessageActions(messageId: "answer-1", copyValue: "Install the package first.", retry: true,
onRetry: { id in print("Retry", id) }, feedback: $rating,
onFeedback: { id, value in print(id, value?.rawValue ?? "cleared") })
}
}Reference
The primary shared and platform-specific options exposed by LumenMessageActions.
| API | Values or type | Default | Description |
|---|---|---|---|
| messageId / retry / showFeedback | owning message / show retry / show rating | required / false / true | Pass disabled while streaming; Copy stays available. |
Native behavior
Pass disabled while streaming; Copy stays available. Retry and rating only report intent.
Named group; rating buttons expose selected state; copy results announce politely.
Shared component