--- layout: docs title: Flexbox edit_url: "https://github.com/nylas/N1/blob/master/src/components/flexbox.cjsx" ---

Summary

A simple wrapper that provides a Flexbox layout with the given direction and style. Any additional props you set on the Flexbox are rendered.

Class Properties

propTypes

React props supported by Flexbox:

direction Optional

A String Flexbox direction: either column or row.

style Optional

An Object with styles to apply to the flexbox.