signal-desktop/ts/components/conversation/media-gallery/EmptyState.tsx

13 lines
270 B
TypeScript
Raw Normal View History

2020-10-30 20:34:04 +00:00
// Copyright 2018-2020 Signal Messenger, LLC
// SPDX-License-Identifier: AGPL-3.0-only
2018-04-26 21:52:43 +00:00
import React from 'react';
type Props = {
2018-04-26 21:52:43 +00:00
label: string;
};
2018-04-26 21:52:43 +00:00
2020-09-14 19:51:27 +00:00
export const EmptyState = ({ label }: Props): JSX.Element => (
<div className="module-empty-state">{label}</div>
);