OptionalresolveWhether the component should resolve the UI when a button is clicked. Defaults to true.
OptionalnameOptional name for state management
OptionalonCallback when dismiss is clicked
OptionalonCallback when thumbs up is clicked
OptionalonCallback when thumbs down is clicked
OptionaldisabledWhether the component is disabled
OptionalclassCustom CSS class name
OptionalbuttonButton texts
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
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
Example
Basic usage
Example
Usage with disabled state
Example
Usage inside a group for feedback in success states