# PromptInput

**Kind:** Component

**Source:** [`atloria-monorepo/apps/web/src/components/AI/PromptInput.tsx`](https://github.com/sherkety/atloria/blob/main/atloria-monorepo/apps/web/src/components/AI/PromptInput.tsx#L27)

## Props

| Name | Type | Required | Default |
|---|---|---|---|
| `onSubmit` | `Function` | ✓ | - |
| `onEnhance` | `Function` | - | - |
| `onOutline` | `Function` | - | - |
| `onImprove` | `Function` | - | - |
| `onSummarize` | `Function` | - | - |
| `isLoading` | `boolean` | - | false |
| `isStreaming` | `boolean` | - | false |
| `placeholder` | `string` | - | "Ask the AI assistant..." |

## Diagram

```mermaid
graph TD
    component_PromptInput_25256c05["PromptInput"]
    class component_PromptInput_25256c05 rootComponent
```

## Relationships

- RENDERS → `QuickActionButton`
- RENDERS → `Sparkles`
- RENDERS → `FileText`
- RENDERS → `Edit3`
- RENDERS → `FileCheck`
- RENDERS → `Loader2`
- RENDERS → `Send`
- USES_HOOK → `useState`
- USES_HOOK → `useRef`
