webpackJsonp([0xaf3a09b42763],{513:function(n,a){n.exports={pathContext:{frontmatter:{path:"contributing/writing-documentation",hasPlayground:!1,initialPlayground:null,redirect:null},html:'
Documentation pages are generated from Markdown files in contents/
.\nThe files are organized in 4 sections/folders (getting-started, properties,\nexamples, contributing) which are dynamically listed on the docs overview page.\nThe Markdown files should contain a header with metadata.
---\npath: "docs/flexDirection"\ntitle: "Flex Direction"\nhasPlayground: true\ninitialPlayground: eyJ3aWR0aCI6IjYwMCIsImhlaWdodCI6NTAwLCJjaGlsZHJlbiI6W3t9LHt9LHt9XX0=\n---\n
\n path
indicates the URL path this page will be available at.title
is used as the page\'s HTML-title and when referencing\nthe file from the documentation overview.hasPlayground
property indicates whether this documentation\nhas an associated playground to test out the documented feature.initialPlayground
property is only relevant for documentation\npages with playgrounds and contains the initial playground state.\nThis base64 string is a reference to the hash (content after #)\nof a playground url.redirect
property allows to redirect to the other page, the path of which is mentioned in the property path
.Within the markdown of a documentation page which has an associated\nplayground you can add controls to let the user play around with the feature\ndirectly from the documenation page.
\n<controls prop="alignContent"></controls>\n
\n If you would like to redirect to another page (potentially an external link) the header would look something like this.
\n---\npath: "/playground#eyJ3aWR0aCI6IjYwMCIsImhlaWdodCI6NTAwLCJjaGlsZHJlbiI6W3t9LHt9LHt9XX0="\ntitle: "Flex Direction"\nredirect: true\n---\n
\n