<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[`ViewState`](ViewState)
## ViewState interface
**Signature:**
```typescript
export interface ViewState
```
## Properties
| Property | Modifiers | Type | Description |
| --- | --- | --- | --- |
| [`active?`](ViewState/active) | | <code>boolean</code> | _(Optional)_ |
| [`group?`](ViewState/group) | | [`WorkspaceLeaf`](WorkspaceLeaf) | _(Optional)_ |
| [`pinned?`](ViewState/pinned) | | <code>boolean</code> | _(Optional)_ |
| [`state?`](ViewState/state) | | <code>Record</code><code><string, unknown></code> | _(Optional)_ |
| [`type`](ViewState/type) | | <code>string</code> | |