Take an author object in <Message>
This commit is contained in:
parent
bca664b5d9
commit
5f17d01f49
7 changed files with 67 additions and 71 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue