Files
homarr/packages/widgets/src/common/empty-state.tsx
T

16 lines
340 B
TypeScript

import { Center, Text } from "@mantine/core";
import { useI18n } from "@homarr/translation/client";
export const WidgetEmptyState = () => {
const t = useI18n("widget.common.error");
return (
<Center h="100%" w="100%" p="sm">
<Text c="dimmed" size="sm" ta="center">
{t("noData")}
</Text>
</Center>
);
};