Take an author object in <Message>
This commit is contained in:
parent
bca664b5d9
commit
5f17d01f49
7 changed files with 67 additions and 71 deletions
|
@ -84,8 +84,10 @@ storiesOf('Components/Conversation/TimelineItem', module)
|
|||
id: 'id-1',
|
||||
direction: 'incoming',
|
||||
timestamp: Date.now(),
|
||||
authorPhoneNumber: '(202) 555-2001',
|
||||
authorColor: 'green',
|
||||
author: {
|
||||
phoneNumber: '(202) 555-2001',
|
||||
color: 'green',
|
||||
},
|
||||
text: '🔥',
|
||||
},
|
||||
} as TimelineItemProps['item'];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue