--- layout: docs title: Flexbox edit_url: "https://github.com/nylas/N1/blob/master/src/components/flexbox.cjsx" ---
A simple wrapper that provides a Flexbox layout with the given direction and style. Any additional props you set on the Flexbox are rendered.
React props
supported by Flexbox:
direction |
Optional
A String Flexbox direction: either |
style |
Optional
An Object with styles to apply to the flexbox. |