OptionalbuttonButton texts
OptionalclassCustom CSS class name
OptionaldisabledWhether the component is disabled
OptionalnameOptional name for state management
OptionalonCallback when dismiss is clicked
OptionalonCallback when thumbs down is clicked
OptionalonCallback when thumbs up is clicked
OptionalresolveWhether the component should resolve the UI when a button is clicked. Defaults to true.
Creates a thumbs feedback component for user feedback collection.
Displays two buttons (thumbs up and thumbs down) that users can click to provide feedback.
Param: props
Configuration object
Param: props.name
The name of the thumbs feedback component in the state
Param: props.onThumbsUpClick
Callback function called when thumbs up is clicked
Param: props.onThumbsDownClick
Callback function called when thumbs down is clicked
Param: props.disabled
Whether the component is disabled
Param: props.className
Additional CSS class name
Returns
A JSX element representing the thumbs feedback component
Example
Basic usage
Example
Usage with disabled state
Example
Usage inside a group for feedback in success states