signal-desktop/ts/components/AvatarSpacer.tsx
2022-11-17 16:45:19 -08:00

12 lines
362 B
TypeScript

// 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 function AvatarSpacer({
size,
}: Readonly<{ size: AvatarSize }>): ReactElement {
return <div style={{ minWidth: size, height: size, width: size }} />;
}