import {ReferenceEntityTemplateSchema} from '@shopify/generate-docs'; import {getExample} from '../../helper.docs'; const disclosureAndAlignment = getExample( 'ui-components/disclosure-and-alignment', ['jsx', 'js'], ); const data: ReferenceEntityTemplateSchema = { name: 'BlockStack', description: 'BlockStack is used to vertically stack elements.', thumbnail: 'blockstack-thumbnail.png', requires: '', isVisualComponent: true, type: '', definitions: [ { title: 'BlockStackProps', description: '', type: 'BlockStackProps', }, ], category: 'Components', subCategory: 'Structure', defaultExample: { image: 'blockstack-default.png', codeblock: { title: 'Basic BlockStack', tabs: [ { title: 'React', code: '../../../../checkout-ui-extensions-react/src/components/BlockStack/examples/basic-blockstack.example.tsx', language: 'tsx', }, { title: 'JS', code: './examples/basic-blockstack.example.ts', language: 'js', }, ], }, }, examples: { description: '', examples: [disclosureAndAlignment], }, subSections: [ { type: 'Generic', anchorLink: 'accessibility-roles', title: 'Accessibility roles', sectionContent: '| Value | Description |\n| --- | --- |\n| "main" | Used to indicate the primary content. |\n| "header" | Used to indicate the component is a header. |\n| "footer" | Used to display information such as copyright information, navigation links, and privacy statements. |\n| "section" | Used to indicate a generic section. |\n| "complementary" | Used to designate a supporting section that relates to the main content. |\n| "navigation" | Used to identify major groups of links used for navigating. |\n| "orderedList" | Used to identify a list of ordered items. |\n| "listItem" | Used to identify an item inside a list of items. |\n| "unorderedList" | Used to identify a list of unordered items. |\n| "separator" | Used to indicates the component acts as a divider that separates and distinguishes sections of content. |\n| "status" | Used to define a live region containing advisory information for the user that is not important enough to be an alert. |\n| "alert" | Used for important, and usually time-sensitive, information. |', }, ], related: [], }; export default data;