Do not download media if in call
This commit is contained in:
parent
d22add261b
commit
a096220990
16 changed files with 274 additions and 47 deletions
|
@ -121,6 +121,20 @@ story.add('Pending', () => {
|
|||
return <Image {...props} />;
|
||||
});
|
||||
|
||||
story.add('Pending w/blurhash', () => {
|
||||
const props = createProps();
|
||||
props.attachment.pending = true;
|
||||
|
||||
return (
|
||||
<Image
|
||||
{...props}
|
||||
blurHash="LDA,FDBnm+I=p{tkIUI;~UkpELV]"
|
||||
width={300}
|
||||
height={400}
|
||||
/>
|
||||
);
|
||||
});
|
||||
|
||||
story.add('Curved Corners', () => {
|
||||
const props = createProps({
|
||||
curveBottomLeft: true,
|
||||
|
@ -176,6 +190,7 @@ story.add('Blurhash', () => {
|
|||
|
||||
return <Image {...props} />;
|
||||
});
|
||||
|
||||
story.add('Missing Image', () => {
|
||||
const defaultProps = createProps();
|
||||
const props = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue