# Config Type documentation

## TypeScript declaration

### [Config](<https://github.com/siemens/element/blob/main/projects/dashboards-ng/src/model/configuration.ts#L14-L16>)

**Kind:** type alias

```
import type { Config } from '@siemens/dashboards-ng';
```

Dashboard configuration object. Inject globally using the [SI\_DASHBOARD\_CONFIGURATION](<../SI_DASHBOARD_CONFIGURATION/index.html#t:SI_DASHBOARD_CONFIGURATION>) or configure individual dashboard instances.

```
type Config = {
  grid?: GridConfig;
}
```

### Types Documentation

### [GridConfig](<https://github.com/siemens/element/blob/main/projects/dashboards-ng/src/model/gridstack.model.ts#L12-L17>)

**Kind:** interface

```
import type { GridConfig } from '@siemens/dashboards-ng';
```

Configuration object for the si-grid component, including the options of gridstack.

```
interface GridConfig
```

#### Properties

| Name | Type | Description |
| --- | --- | --- |
| [gridStackOptions](<https://github.com/siemens/element/blob/main/projects/dashboards-ng/src/model/gridstack.model.ts#L16-L16>) (optional) | `GridStackOptions` | The configuration options of gridstack. |
