Feedback
import { Feedback } from '@hanzo/ui/agents'
Under a turn
Goes in `Message`'s `actions`; pressing the chosen thumb again takes it back.
The cart now keeps its items across reloads.
export function UnderATurn() {return (<Message role="assistant" actions={<Feedback text="The cart now keeps its items across reloads." />}>The cart now keeps its items across reloads.</Message>)}
Types
export type Verdict = 'up' | 'down' | null
export interface FeedbackProps extends Row {/** What Copy puts on the clipboard. Omit and there is no Copy. */text?: string/** Controlled verdict. Omit to let the row hold its own. */verdict?: VerdictonVerdict?: (verdict: Verdict) => void}
Exports
Feedbacktype FeedbackPropstype Verdict