/** * SizeSelector.tsx * * A reusable pair of for choosing a rim or tire size. * * Behaviour: * - Selecting a dropdown option fills the text input with its diameter_mm. * - Typing a number in the text input auto-selects the first matching * dropdown option, or falls back to "Custom" if no match exists. * - Choosing "Custom" in the dropdown does nothing to the text input. */ import type { SizeOption } from "../types"; /** Sentinel value used as the