Skip to content
Cloudflare Docs

rtk-draft-attachment-view

A component which renders the draft attachment to send

Properties

PropertyTypeRequiredDefaultDescription
attachment{ type: 'image' | 'file'; file: File; }-Attachment to display
iconPackIconPack1defaultIconPackIcon pack
tRtkI18n1useLanguage()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>