session-desktop/ts/components/conversation/StagedPlaceholderAttachment.md

249 B

const attachment = {
  contentType: 'text/plain',
  fileName: 'manifesto.txt',
};

<util.ConversationContext theme={util.theme}>
  <StagedPlaceholderAttachment onClick={attachment => console.log('onClick')} />
</util.ConversationContext>;