Reintroduce inline metadata with full RTL support

This commit is contained in:
Scott Nonnenberg 2022-03-23 13:23:28 -07:00 committed by GitHub
parent 801c70b298
commit bb066d4a84
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
10 changed files with 185 additions and 9 deletions

View file

@ -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(),
};