Add AttachmentSection to style guide

This commit is contained in:
Daniel Gasienica 2018-05-08 16:12:24 -04:00
parent 121bb0ecef
commit d349dd903d

View file

@ -0,0 +1,24 @@
```jsx
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} />;
```