type ScaleUnit = 'imperial' | 'metric' | 'nautical' type ScaleUnitSelectorProps = { scaleUnit: ScaleUnit onChange: (unit: ScaleUnit) => void onMouseEnter?: () => void } export default function ScaleUnitSelector({ scaleUnit, onChange, onMouseEnter, }: ScaleUnitSelectorProps) { return (
{/* Metric */} {/* Imperial */} {/* Nautical */}
) }