import { useState, useEffect } from "react"; import { Poi } from "../../redux/types/Poi"; import { formatNumber } from "../../utils/formatNumber"; import { IoFootstepsSharp } from "react-icons/io5"; import ParentSize from "@visx/responsive/lib/components/ParentSize"; import BrushChart from "../../components/charts/brushChart/AreaChart"; import DayTypeGraph from "../../components/charts/tripeChart/DayTypeGraph"; type FootfallSectionProps = { selectedPoi: Poi; }; const FootfallSection: React.FC = ({ selectedPoi }) => { return (
Average Footfall
{selectedPoi ? formatNumber(selectedPoi?.data.footfall.avg_daily_number) : "17 400"}
Footfall Week Distribution
{({ width, height }) => ( )}
Footfall Day Type Hour distribution
{({ width, height }) => ( )}
); }; export default FootfallSection;