EdgeFunctionChartEmptyState.tsx20 lines · main
1import { BarChart2 } from 'lucide-react'
2import { ChartEmptyState } from 'ui-patterns/Chart'
3
4interface EdgeFunctionChartEmptyStateProps {
5 title: string
6 description?: string
7}
8
9export const EdgeFunctionChartEmptyState = ({
10 title,
11 description,
12}: EdgeFunctionChartEmptyStateProps) => {
13 return (
14 <ChartEmptyState
15 icon={<BarChart2 size={16} />}
16 title={title}
17 description={description ?? 'It may take up to 24 hours for data to refresh'}
18 />
19 )
20}