# SubagentCardProps

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

**Unpublished development API.**

Reference: /docs/api/react/chat/SubagentCardProps

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

## SubagentCardProps

Borrowed child evidence, an optional card class and an optional app-owned text renderer.

```typescript
export interface SubagentCardProps  {
  readonly className?: string;
  readonly renderText?: (message: SubagentMessageInfo) => ReactNode;
  readonly sources?: ToolSourcePlacement;
  readonly subagent: SubagentInfo;
}
```

### className

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

### renderText

Replace literal child text, for example with app-owned Markdown. Keep stable.

```typescript
readonly renderText?: (message: SubagentMessageInfo) => ReactNode;
```

### sources

Where sources declared by the child's calls appear. Defaults to links under each call. `panel`
shows none here, for a message whose Sources panel lists them; `MessageList` and `Chat` do this.

```typescript
readonly sources?: ToolSourcePlacement;
```

### subagent

```typescript
readonly subagent: SubagentInfo;
```