import React from "react"; import {Link} from "gatsby"; import {MDXProvider} from '@mdx-js/react' import Layout from "../components/layout" import SEO from "../components/seo" import './docs.css' import SyntaxHighlighter from 'react-syntax-highlighter'; import { atomOneDark } from 'react-syntax-highlighter/dist/esm/styles/hljs'; export default ({children, location}) => (

Documentation

Stretch is available for Rust, Kotlin, Swift, and JavaScript. We will be adding more language bindings over time. For general help on using flexbox we suggest reading css-tricks.com/snippets/css/a-guide-to-flexbox and playing around with flexboxfroggy.com. Or you can always read the spec itself at www.w3.org/TR/css-flexbox-1

Rust Kotlin Swift JavaScript
{children}
); export function Code({file, lang, children}) { return (
{ file && {file} }
{children.trim()}
); }