Ensure that we resolve attachments before displaying them
This commit is contained in:
parent
72f979ea1d
commit
d8708e4e73
9 changed files with 319 additions and 31 deletions
|
@ -164,7 +164,20 @@ story.add('Link preview', () => (
|
|||
preview: {
|
||||
url: 'https://www.signal.org/workworkwork',
|
||||
title: 'Signal >> Careers',
|
||||
// TODO add image
|
||||
},
|
||||
}}
|
||||
/>
|
||||
));
|
||||
|
||||
story.add('Link preview (thumbnail)', () => (
|
||||
<TextAttachment
|
||||
{...getDefaultProps()}
|
||||
isThumbnail
|
||||
textAttachment={{
|
||||
color: 4294951251,
|
||||
preview: {
|
||||
url: 'https://www.signal.org/workworkwork',
|
||||
title: 'Signal >> Careers',
|
||||
},
|
||||
}}
|
||||
/>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue