import { ThemeProvider } from 'styled-components';
import { Canvas, Meta, ArgTypes } from '@storybook/blocks';
import * as flexStories from './Flex.stories.tsx';
import Flex from '..';
import { lightTheme } from '../../../../theme/';
import { Block, Title } from './common';
import { GlobalStyles } from '../../../../theme/GlobalStyles';
# Flex
The Flex component is a one-dimensional layout model. It offers space distribution between items and powerful alignment capabilities in a page layout.
It provides several defined layouts, e.g. `fill-space`, `fill-space-centerd`, `equal-columns`, and `stack`.
## Importing
```javascript
import { Flex } from 'amazon-chime-sdk-component-library-react';
```
## Example
With layout `fill-space`
```jsx
fill-space
```
With Layout `fill-space-centered`
```jsx
fill-space-centered
```
With Layout `equal-columns`
```jsx
```
With Layout `stack`
```jsx
```
With container `true`
```jsx
placeholder
```
## Props