diff --git a/src/components/DistanceCircle.tsx b/src/components/DistanceCircle.tsx new file mode 100644 index 0000000..97f6776 --- /dev/null +++ b/src/components/DistanceCircle.tsx @@ -0,0 +1,43 @@ +interface DistanceCircleProps { + selectedRange: number; +} + +const DistanceCircle = ({ selectedRange }: DistanceCircleProps) => { + return ( + + + + + + + + + + + ); +}; + +export default DistanceCircle; diff --git a/src/pages/InfrastructurePage.tsx b/src/pages/InfrastructurePage.tsx index 1cd40e4..9756b45 100644 --- a/src/pages/InfrastructurePage.tsx +++ b/src/pages/InfrastructurePage.tsx @@ -3,21 +3,15 @@ import Button from "../components/Button"; import ArrowLeftIcon from "../components/icons/ArrowLeftIcon"; import CrossIcon from "../icons/CrossIcon"; import InfrastructureFilters from "../components/InfrastructurePage/InfrastructureFilters"; +import DistanceCircle from "../components/DistanceCircle"; function InfrastructurePage() { const [selectedRange, setSelectedRange] = useState(800); return (
-
-
+
+