mirror of
https://github.com/Novaloop-AG/healthchat-web.git
synced 2026-10-31 16:23:03 +00:00
18 lines
486 B
TypeScript
18 lines
486 B
TypeScript
import React from "react";
|
|
|
|
interface EmptyStateProps {
|
|
searchQuery: string;
|
|
}
|
|
|
|
export function EmptyState({ searchQuery }: EmptyStateProps): React.JSX.Element {
|
|
return (
|
|
<div className="mx_UserDirectory_state mx_UserDirectory_empty">
|
|
{searchQuery ? (
|
|
<p>Keine Benutzer gefunden für «{searchQuery}».</p>
|
|
) : (
|
|
<p>Keine Benutzer im Verzeichnis vorhanden.</p>
|
|
)}
|
|
</div>
|
|
);
|
|
}
|