You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
session-desktop/ts/components/conversation/media-gallery/AttachmentSection.md

415 B

const messages = [
  {
    attachments: [
      {
        fileName: 'foo.json',
        contentType: 'application/json',
        size: 53313,
      },
    ],
  },
  {
    attachments: [
      {
        fileName: 'bar.txt',
        contentType: 'text/plain',
        size: 10323,
      },
    ],
  },
];

<AttachmentSection
  header="Today"
  type="documents"
  messages={messages}
  i18n={util.i18n}
/>;