Umami is a privacy-first web and product analytics platform. Traffic, campaigns, behavior, conversions, and revenue in one place. No cookies, no surveillance, self-hosted or in the cloud.
TypeScript analyticsaudience-segmentationchartscohort-analysisgoogle-analyticsproduct-analyticsstatisticsuser-journeyweb-analytics
import { Row } from '@umami/react-zen';
import { useMessages } from '@/components/hooks';
export interface EmptyProps {
message?: string;
}
export function Empty({ message }: EmptyProps) {
const { t, messages } = useMessages();
return (
<Row
color="muted"
alignItems="center"
justifyContent="center"
width="100%"
height="100%"
minHeight="70px"
flexGrow={1}
>
{message || t(messages.noDataAvailable)}
</Row>
);
}