/** * ResultDisplay.tsx * * Shows the computed circumference in several units inside a styled card. * When inputs are incomplete / invalid the component shows a helpful prompt. */ import type { CircumferenceResult } from "../types"; interface ResultDisplayProps { result: CircumferenceResult | null; } export default function ResultDisplay({ result }: ResultDisplayProps) { if (!result) { return (
Select or enter both rim and tire sizes to see the circumference.