rtk-draft-attachment-view
A component which renders the draft attachment to send
| Property | Type | Required | Default | Description |
|---|---|---|---|---|
attachment | { type: 'image' | 'file'; file: File; } | ✅ | - | Attachment to display |
iconPack | IconPack1 | ❌ | defaultIconPack | Icon pack |
t | RtkI18n1 | ❌ | useLanguage() | Language |
<rtk-draft-attachment-view></rtk-draft-attachment-view><rtk-draft-attachment-view></rtk-draft-attachment-view><script> const el = document.querySelector("rtk-draft-attachment-view");
el.attachment= {};</script>