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

32 lines
441 B
Markdown

```jsx
const messages = [
{
id: '1',
attachments: [
{
fileName: 'foo.json',
contentType: 'application/json',
size: 53313,
},
],
},
{
id: '2',
attachments: [
{
fileName: 'bar.txt',
contentType: 'text/plain',
size: 10323,
},
],
},
];
<AttachmentSection
header="Today"
type="documents"
messages={messages}
i18n={util.i18n}
/>;
```