# SessionSidebarProps

<!-- https://uncage.vercel.app/docs/api/react-ui/interfaces/sessionsidebarprops/ -->

Defined in: react-ui/src/components/SessionSidebar.tsx:7

## Properties

| Property | Type | Description | Defined in |
| ------ | ------ | ------ | ------ |
| <a id="property-activeid"></a> `activeId?` | `string` | Highlighted session; defaults to the active session. | react-ui/src/components/SessionSidebar.tsx:9 |

## Methods

### onNew()?

```ts
onNew?(): void;
```

Defined in: react-ui/src/components/SessionSidebar.tsx:13

Defaults to creating a session with the first available runtime and opening it.

#### Returns

`void`

***

### onSelect()?

```ts
onSelect?(id): void;
```

Defined in: react-ui/src/components/SessionSidebar.tsx:11

Defaults to opening the session.

#### Parameters

| Parameter | Type |
| ------ | ------ |
| `id` | `string` |

#### Returns

`void`
