# RichTextMediaInput (@salmonui/rich-text)

> The RichTextMediaInput interface of @salmonui/rich-text.

Canonical: https://salmonui.dev/docs/reference/rich-text/RichTextMediaInput

```ts
import type { RichTextMediaInput } from '@salmonui/rich-text';
```

Entry index: https://salmonui.dev/docs/reference/rich-text (Markdown with every symbol of the entry: https://salmonui.dev/docs/reference/rich-text.md).

## Reference

Kind: interface

```ts
interface RichTextMediaInput {
    readonly src: string;
    readonly width?: number | null | undefined;
    readonly height?: number | null | undefined;
}
```

Members (3):

| Name | Signature | Flags | Description |
| --- | --- | --- | --- |
| `src` | `readonly src: string;` |  |  |
| `width` | `readonly width?: number \| null \| undefined;` | optional |  |
| `height` | `readonly height?: number \| null \| undefined;` | optional |  |
