Take an author object in <Message>

This commit is contained in:
Evan Hahn 2021-04-27 14:55:21 -05:00 committed by Scott Nonnenberg
parent bca664b5d9
commit 5f17d01f49
7 changed files with 67 additions and 71 deletions

View file

@ -17,8 +17,10 @@ const i18n = setupI18n('en', enMessages);
const story = storiesOf('Components/Conversation/MessageDetail', module);
const defaultMessage: MessageDataPropsType = {
authorId: 'some-id',
authorTitle: 'Max',
author: {
id: 'some-id',
title: 'Max',
},
canReply: true,
canDeleteForEveryone: true,
canDownload: true,