UNPKG

wix-style-react

Version:
42 lines (41 loc) 1.57 kB
export default { description: 'Social Preview allows users to see what information will be displayed once the URL address is shared on social media platforms.', do: [ 'Use it when the site owner needs to preview how page information will be displayed on social media. ', ], dont: [ 'Don’t use it as any other kind of preview for user-generated content.', 'Don’t use it instead of the GooglePreview component.', 'Don’t use it as an image preview.', ], featureExamples: [ { title: 'Structure', description: 'Component consists of four areas: media, URL address, title, and description.', example: '_structure', }, { title: 'Size', description: `Choose the size of the preview from:</br> &emsp;- \`large\` - use for a preview generated by common social media platforms.<br/> &emsp;- \`small\` - use as alternative size for the Twitter platform only.`, example: '_size', }, { title: 'Skin', description: `Render preview for different social media platforms:<br/> &emsp;- \`social\` - use for a preview generated by common social media platforms.<br/> &emsp;- \`twitter\` - use to display a specific preview for twitter social media platform only`, example: '_skin', }, ], commonUseCaseExamples: [ { title: 'Blog Post Share', description: `In combination with Inputs, Social Preview allows site owners to tailor their blog posts' appearance on social media.`, example: '_blogPostShare', }, ], };