Skip to content

rtk-file-message-view

Last updated View as MarkdownAgent setup

A component which renders a file message.

Properties

Property Type Required Default Description
iconPack IconPack1 defaultIconPack Icon pack
name string - Name of the file
size number - Size of the file
url string - Url of the file

Usage Examples

Basic Usage

<rtk-file-message-view></rtk-file-message-view>

With Properties

<rtk-file-message-view
 name="example"
 url="example">
</rtk-file-message-view>
<script>
  const el = document.querySelector("rtk-file-message-view");

  el.size= 42;
</script>

Was this helpful?