# parseColumnShorthand

> _Since v0.7.0_

Parse a column shorthand string into a React `ColumnConfig`.

Delegates parsing to `@toolbox-web/grid` core (issue #276). The result only
ever carries `field`/`header`/`type`, so it satisfies React's widened column
type without a cast.

```ts
parseColumnShorthand(shorthand: string): ColumnConfig<TRow>
```

## Parameters

| Name | Type | Description |
| ---- | ---- | ----------- |
| `shorthand` | <code>string</code> | The shorthand string (e.g., 'name', 'salary:number') |

## Returns

`ColumnConfig<TRow>` - A ColumnConfig object

#### Example

```ts
parseColumnShorthand('name') → { field: 'name', header: 'Name' }
parseColumnShorthand('salary:number') → { field: 'salary', header: 'Salary', type: 'number' }
```
