# ChatWindowProps

Package: `@threadplane/react/chat` · 0.0.0

**Unpublished development API.**

Reference: /docs/api/react/chat/ChatWindowProps

```typescript
import type { ChatWindowProps } from '@threadplane/react/chat';
```

## ChatWindowProps

The three regions of a chat window; the owner supplies their content.

```typescript
export interface ChatWindowProps  {
  readonly children?: ReactNode;
  readonly className?: string;
  readonly footer?: ReactNode;
  readonly header?: ReactNode;
}
```

### children

The body, which takes the remaining height.

```typescript
readonly children?: ReactNode;
```

### className

```typescript
readonly className?: string;
```

### footer

A fixed region below the body, usually the composer.

```typescript
readonly footer?: ReactNode;
```

### header

A fixed bar above the body. Left out, the body gets top spacing instead.

```typescript
readonly header?: ReactNode;
```