Message Requests

This commit is contained in:
Ken Powers 2020-05-27 17:37:06 -04:00 committed by Scott Nonnenberg
parent 4d4b7a26a5
commit 83574eb067
60 changed files with 2566 additions and 216 deletions

View file

@ -16,6 +16,7 @@ import {
PropsHousekeeping,
} from './Message';
import { EmojiPicker } from '../emoji/EmojiPicker';
import { MIMEType } from '../../types/MIME';
const book = storiesOf('Components/Conversation/Message', module);
@ -1272,6 +1273,28 @@ const stories: Array<MessageStory> = [
})),
],
],
[
'BlurHash',
[
{
title: 'Incoming BlurHash',
makeDataProps: () => ({
...baseDataProps,
direction: 'incoming',
attachments: [
{
blurHash: 'LEHV6nWB2yk8pyo0adR*.7kCMdnj',
width: 300,
height: 600,
fileName: 'foo.jpg',
contentType: 'image/jpeg' as MIMEType,
url: '',
},
],
}),
},
],
],
];
const renderEmojiPicker: AllProps['renderEmojiPicker'] = ({