wix-style-react
Version:
39 lines (38 loc) • 1.34 kB
JavaScript
export default {
description:
"Faces rating bar allows you to rate an experience, such as an interview, a call with customer care or a doctor's appointment.",
do: [
'Use it to display the rating of an experience',
'Use it to measure ‘likability’',
'Use it to collect feedback about experiences that involve interaction with other people',
],
dont: [
'Don’t use it to rate the quality of a physical or digital item. Use <StarsRatingBar/> instead.',
],
featureExamples: [
{
title: 'Mode',
description: `Specify the mode of component:<br/>
 - \`interactive\` (default) - use it to collect individual feedback<br/>
 - \`readOnly\` - use it to display an overall rating`,
example: '_mode',
},
{
title: 'Description',
description: `Show descriptions for each face in a tooltip. Descriptions will only be shown if all 5 labels are defined.`,
example: '_description',
},
],
commonUseCaseExamples: [
{
title: 'Collecting feedback',
description: `Use an interactive mode to collect feedback from your users.`,
example: '_collectingFeedback',
},
{
title: 'Displaying feedback',
description: `Use read only mode to display ratings.`,
example: '_displayingFeedback',
},
],
};