# IFlexArgs

Interface

Source: https://github.com/playcanvas/pcui/blob/77ed2b8ba8660c9644049b0d1942652721e7a6c4/src/components/Element/index.ts#L160

The interface for flex-related CSS properties available on elements.
These properties do not themselves enable `display: flex`; flex layout is
configured separately (for example via `Container#flex`).

## Properties

### alignItems

```ts
alignItems?: string
```

Sets the element's `alignItems` CSS property.

### alignSelf

```ts
alignSelf?: string
```

Sets the element's `alignSelf` CSS property.

### flexBasis

```ts
flexBasis?: string | number
```

Sets the element's `flexBasis` CSS property.

### flexDirection

```ts
flexDirection?: string
```

Sets the element's `flexDirection` CSS property.

### flexGrow

```ts
flexGrow?: string | number
```

Sets the element's `flexGrow` CSS property.

### flexShrink

```ts
flexShrink?: string | number
```

Sets the element's `flexShrink` CSS property.

### flexWrap

```ts
flexWrap?: string
```

Sets the element's `flexWrap` CSS property.

### justifyContent

```ts
justifyContent?: string
```

Sets the element's `justifyContent` CSS property.

### justifySelf

```ts
justifySelf?: string
```

Sets the element's `justifySelf` CSS property.
