An open API service indexing awesome lists of open source software.

https://github.com/co2-git/reacted-flex

React components to use with CSS3 Flexbox
https://github.com/co2-git/reacted-flex

Last synced: about 1 year ago
JSON representation

React components to use with CSS3 Flexbox

Awesome Lists containing this project

README

          

reacted-flex
===

React components to use with CSS3 Flexbox

[More on Flex](https://scotch.io/tutorials/a-visual-guide-to-css3-flexbox-properties)

# Usage

```js
import React from 'react';
import Flex from 'reacted-flex';

class Layout extends React.Component {
render () {
return (





);
}
}
```

# Container

## display

### { display : flex }

```html

```

### { display : inline-flex }

```html

```

## flex-direction

### { flex-direction : column }

```html

```

### { flex-direction : reverse }

```html

```

### { flex-direction : column-reverse }

```html

```

## flex-wrap

### { flex-wrap : no-wrap }

```html

```

### { flex-wrap : wrap }

```html

```

### { flex-wrap : wrap-reverse }

```html

```

## justify-content

### { justify-content : flex-start }

```html

```

### { justify-content : flex-end }

```html

```

### { justify-content : center }

```html

```

### { justify-content : space-between }

```html

```

### { justify-content : space-around }

```html

```

## align-items

### { align-items : stretch }

```html

```

### { align-items : flex-start }

```html

```

### { align-items : flex-end }

```html

```

### { align-items : center }

```html

```

### { align-items : baseline }

```html

```

## align-content

### { align-content : stretch }

```html

```

### { align-content : flex-start }

```html

```

### { align-content : flex-end }

```html

```

### { align-content : center }

```html

```

### { align-content : space-between }

```html

```

### { align-content : space-around }

```html

```

## Item

### { order : }

```html


```

### { flex-grow : }

```html


```

### { flex-shrink : }

```html


```

### { flex-basis : }

```html


```

### { align-self : }

```html


```