OpenPanel is an open-source web and product analytics platform, an open-source alternative to Mixpanel with optional self-hosting.
import { ReportInterval } from '../report/ReportInterval';
import { useOverviewOptions } from '@/components/overview/useOverviewOptions';
export function OverviewInterval() {
const { interval, setInterval, range, startDate, endDate } =
useOverviewOptions();
return (
<ReportInterval
chartType="linear"
endDate={endDate}
interval={interval}
onChange={setInterval}
range={range}
startDate={startDate}
/>
);
}