← Cloudflare Realtime / realtime / realtimekit / ui-kit / api-reference / angular
rtk-draft-attachment-view
A component which renders the draft attachment to send
Properties
| Property | Type | Required | Default | Description |
|---|---|---|---|---|
attachment |
{ type: 'image' | 'file'; file: File; } |
✅ | - | Attachment to display |
iconPack |
IconPack1 |
❌ | defaultIconPack |
Icon pack |
t |
RtkI18n1 |
❌ | useLanguage() |
Language |
Usage Examples
Basic Usage
<!-- component.html -->
<rtk-draft-attachment-view></rtk-draft-attachment-view>With Properties
<!-- component.html -->
<rtk-draft-attachment-view
[attachment=]"{}">
</rtk-draft-attachment-view>