Reintroduce inline metadata with full RTL support
This commit is contained in:
parent
801c70b298
commit
bb066d4a84
10 changed files with 185 additions and 9 deletions
|
@ -8,6 +8,7 @@ import { number } from '@storybook/addon-knobs';
|
|||
import { storiesOf } from '@storybook/react';
|
||||
|
||||
import type { PropsData as MessageDataPropsType } from './Message';
|
||||
import { TextDirection } from './Message';
|
||||
import type { Props } from './MessageDetail';
|
||||
import { MessageDetail } from './MessageDetail';
|
||||
import { SendStatus } from '../../messages/MessageSendState';
|
||||
|
@ -45,6 +46,7 @@ const defaultMessage: MessageDataPropsType = {
|
|||
readStatus: ReadStatus.Read,
|
||||
status: 'sent',
|
||||
text: 'A message from Max',
|
||||
textDirection: TextDirection.Default,
|
||||
timestamp: Date.now(),
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue