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: 'InlineLayout', description: 'InlineLayout is used to lay out content over multiple columns.\n\nBy default, all columns are of equal size and fill the available inline space. Content does not wrap on new rows when not enough columns have been explicitly set, instead they are added as new column and fill the remaining inline space.', thumbnail: 'inlinelayout-thumbnail.png', requires: '', isVisualComponent: true, type: '', definitions: [ { title: 'InlineLayoutProps', description: '', type: 'InlineLayoutProps', }, ], category: 'Components', subCategory: 'Structure', defaultExample: { image: 'inlinelayout-default.png', codeblock: { title: 'Basic InlineLayout', tabs: [ { title: 'React', code: '../../../../checkout-ui-extensions-react/src/components/InlineLayout/examples/basic-inlinelayout.example.tsx', language: 'tsx', }, { title: 'JS', code: './examples/basic-inlinelayout.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;