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

13 lines
269 B
TypeScript
Raw Normal View History

2023-01-03 19:55:46 +00:00
// Copyright 2018 Signal Messenger, LLC
2020-10-30 20:34:04 +00:00
// 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
2022-11-18 00:45:19 +00:00
export function EmptyState({ label }: Props): JSX.Element {
return <div className="module-empty-state">{label}</div>;
}