Collapse message bubbles when applicable
This commit is contained in:
parent
16cd115530
commit
c527de0a8d
19 changed files with 707 additions and 383 deletions
12
ts/components/AvatarSpacer.tsx
Normal file
12
ts/components/AvatarSpacer.tsx
Normal file
|
@ -0,0 +1,12 @@
|
|||
// Copyright 2022 Signal Messenger, LLC
|
||||
// SPDX-License-Identifier: AGPL-3.0-only
|
||||
|
||||
import type { ReactElement } from 'react';
|
||||
import React from 'react';
|
||||
import type { AvatarSize } from './Avatar';
|
||||
|
||||
export const AvatarSpacer = ({
|
||||
size,
|
||||
}: Readonly<{ size: AvatarSize }>): ReactElement => (
|
||||
<div style={{ minWidth: size, height: size, width: size }} />
|
||||
);
|
Loading…
Add table
Add a link
Reference in a new issue