wix-style-react
Version:
42 lines (41 loc) • 1.66 kB
JavaScript
export default {
description:
'Feature list allows users to promote a product or service by listing down the main features and benefits. It’s designed to be used in `<MarketingPage/>` component.',
do: [
'Display it in a footer area of a <MarketingPage/>',
'Use it to list down product features or benefits',
],
dont: [
'Don’t use it to list down client reviews. Use <TestimonialList/> instead.',
],
featureExamples: [
{
title: 'Structure',
description: `This component displays feature items in columns. Each item can contain:<br/>
 - \`image\` - use to display image preview or illustration of a feature. It’s recommended to keep image dimensions to 60x60px<br/>
 - \`title\` - use for feature name<br/>
 - \`text\` - use for short feature description.`,
example: '_structure',
},
{
title: 'Number of columns',
description: `Control number of columns displayed in a row with \`cols\` prop.
If items do not fit in a row it will wrap to another line.`,
example: '_numberOfColumns',
},
],
commonUseCaseExamples: [
{
title: 'List without images',
description: `All \`features\` list props are optional.
Create custom design by displaying only what's necessary in your use case, i.e., features list without images.`,
example: '_listWithoutImages',
},
{
title: 'Marketing page',
description: `Use features list as a footer of \`<MarketingPage/>\` to promote your product better by listing down its key benefits.`,
example: '_marketingPage',
wide: true,
},
],
};