{"componentChunkName":"component---src-pages-components-code-snippet-code-mdx","path":"/components/code-snippet/code/","result":{"pageContext":{"frontmatter":{"title":"Code snippet","description":"Code snippets are small blocks of reusable code that can be inserted in a code file.","tabs":["Code","Usage","Style","Accessibility"]},"relativePagePath":"/components/code-snippet/code.mdx","titleType":"prepend","MdxNode":{"id":"9abb9f7b-fccd-5836-a7b4-44634000fea9","children":[],"parent":"c3196bfd-9cad-5380-99b6-2bb8cb93ce49","internal":{"content":"---\ntitle: Code snippet\ndescription: Code snippets are small blocks of reusable code that can be inserted in a code file.\ntabs: [\"Code\", \"Usage\", \"Style\", \"Accessibility\"]\n---\n\n<ComponentDemo\n  links={{\n    React:\n      \"http://react.carbondesignsystem.com/?path=/story/codesnippet--inline\",\n    Angular:\n      \"https://angular.carbondesignsystem.com/?path=/story/components-code-snippet--basic\",\n    Vue:\n      \"http://vue.carbondesignsystem.com/?path=/story/components-cvcodesnippet--default\",\n    Vanilla: \"https://the-carbon-components.netlify.com/?nav=code-snippet\",\n  }}\n  knobs={{ CodeSnippet: [\"type\"] }}\n>\n  {`\n<CodeSnippet>\n{\\`@mixin grid-container {\n    width: 100%;\n    padding-right: padding(mobile);\n    padding-left: padding(mobile);\n  \n    @include breakpoint(bp--xs--major) {\n      padding-right: padding(xs);\n      padding-left: padding(xs);\n    }\n  }\n    \n  $z-indexes: (\n    modal : 9000,\n    overlay : 8000,\n    dropdown : 7000,\n    header : 6000,\n    footer : 5000,\n    hidden : - 1,\n    overflowHidden: - 1,\n    floating: 10000\n  );\\`}\n</CodeSnippet>`}\n</ComponentDemo>\n","type":"Mdx","contentDigest":"798d9ff4b7644932f4c844288673407d","counter":1465,"owner":"gatsby-plugin-mdx"},"frontmatter":{"title":"Code snippet","description":"Code snippets are small blocks of reusable code that can be inserted in a code file.","tabs":["Code","Usage","Style","Accessibility"]},"exports":{},"rawBody":"---\ntitle: Code snippet\ndescription: Code snippets are small blocks of reusable code that can be inserted in a code file.\ntabs: [\"Code\", \"Usage\", \"Style\", \"Accessibility\"]\n---\n\n<ComponentDemo\n  links={{\n    React:\n      \"http://react.carbondesignsystem.com/?path=/story/codesnippet--inline\",\n    Angular:\n      \"https://angular.carbondesignsystem.com/?path=/story/components-code-snippet--basic\",\n    Vue:\n      \"http://vue.carbondesignsystem.com/?path=/story/components-cvcodesnippet--default\",\n    Vanilla: \"https://the-carbon-components.netlify.com/?nav=code-snippet\",\n  }}\n  knobs={{ CodeSnippet: [\"type\"] }}\n>\n  {`\n<CodeSnippet>\n{\\`@mixin grid-container {\n    width: 100%;\n    padding-right: padding(mobile);\n    padding-left: padding(mobile);\n  \n    @include breakpoint(bp--xs--major) {\n      padding-right: padding(xs);\n      padding-left: padding(xs);\n    }\n  }\n    \n  $z-indexes: (\n    modal : 9000,\n    overlay : 8000,\n    dropdown : 7000,\n    header : 6000,\n    footer : 5000,\n    hidden : - 1,\n    overflowHidden: - 1,\n    floating: 10000\n  );\\`}\n</CodeSnippet>`}\n</ComponentDemo>\n","fileAbsolutePath":"/zeit/3b23ef32/src/pages/components/code-snippet/code.mdx"}}}}