# normalizeColumns

> _Since v0.7.0_

Normalize an array of column shorthands to ColumnConfig objects.

```ts
normalizeColumns(columns: ColumnShorthand<TRow>[]): ColumnConfig<TRow>[]
```

## Parameters

| Name | Type | Description |
| ---- | ---- | ----------- |
| `columns` | <code><a href="/grid/react/api/types/columnshorthand/">ColumnShorthand</a>&lt;TRow&gt;[]</code> | Array of column shorthands (strings or ColumnConfig objects) |

## Returns

`ColumnConfig<TRow>[]` - Array of ColumnConfig objects

#### Example

```tsx
normalizeColumns(['id:number', 'name', { field: 'email', width: 200 }])
// Returns:
// [
//   { field: 'id', header: 'ID', type: 'number' },
//   { field: 'name', header: 'Name' },
//   { field: 'email', width: 200 }
// ]
```
