Utility
Markdown
Renders markdown/HTML content with styled prose typography and optional streaming animation indicator.
## Getting Started with TypeScript
TypeScript adds **static type checking** to JavaScript. Here's what you need to know:
- Type annotations catch bugs at *compile time*
- Interfaces describe the shape of objects
- Generics enable reusable, type-safe code
```typescript
interface User {
id: string;
name: string;
email: string;
}
function getUser(id: string): Promise {
return fetch(\`/api/users/\${id}\`).then(r => r.json());
}
```
> TypeScript is a superset of JavaScript — any valid JS is valid TS.
Props
| Prop | Type | Default | Description |
|---|---|---|---|
| children | string | - | Markdown or HTML string content |
| isStreaming | boolean | - | Whether content is actively streaming (adds animated cursor) |
| className | string | - | Additional CSS classes |
Import
import { Markdown, MarkdownProse } from '@blastx/ui-ai';