signal-desktop/ts/components/conversation/media-gallery/DocumentListItem.md

24 lines
487 B
Markdown
Raw Normal View History

2018-05-08 20:11:26 +00:00
```jsx
<div>
<DocumentListItem
fileName="meow.jpg"
fileSize={1024 * 1000 * 2}
timestamp={Date.now()}
i18n={util.i18n}
2018-05-08 20:11:26 +00:00
/>
<DocumentListItem
fileName="rickroll.wmv"
fileSize={1024 * 1000 * 8}
timestamp={Date.now() - 24 * 60 * 1000}
i18n={util.i18n}
2018-05-08 20:11:26 +00:00
/>
<DocumentListItem
fileName="kitten.gif"
fileSize={1024 * 1000 * 1.2}
timestamp={Date.now() - 14 * 24 * 60 * 1000}
shouldShowSeparator={false}
i18n={util.i18n}
2018-05-08 20:11:26 +00:00
/>
</div>
2018-04-12 20:23:26 +00:00
```