MessageRating
Unpublished development API. This package is under development and is not available as a published release.
Controlled thumbs up and down for one response. The owner holds the rating and decides whether a requested change is accepted, stored or sent; pressing the current rating requests that it be cleared.
import { MessageRating } from '@threadplane/react/chat';Declaration · overload 1
export declare function MessageRating(input: MessageRatingProps): import("react/jsx-runtime").JSX.Element;Parameters
{ messageId, value, onValueChange, disabled, label, upLabel, downLabel, className, }· requiredinput· requiredMessageRatingProps
Returns
import("react/jsx-runtime").JSX.Element