import { useMemo } from "react"; import { View } from "tamagui"; import { GraphPath, GraphSvg } from "./GraphSvg"; import { dotPath } from "./viewMath"; import type { DotArea } from "./viewMath"; export interface GraphDotsProps { readonly area: DotArea; readonly pitch: number; readonly dot: number; readonly color: string; } export function GraphDots({ area, pitch, dot, color }: GraphDotsProps) { const path = useMemo(() => dotPath(area, pitch), [area, pitch]); return ( ); }