Current conditions
} />
: undefined}
/>
{c.uvIndex !== null && (
}
/>
)}
{aq && (
)}
{c.pressureHpa !== null && }
{c.visibilityKm !== null && }
{c.cloudCover !== null && }
{c.precipMm !== null && }
{today?.sunrise && today.sunset && (
)}
} />
);
}
/**
* One reading. `icon` sits beside the value; `meter` sits underneath it.
*/
function Tile({ label, value, note, icon, meter }: { label: string; value: string; note?: string; icon?: ReactNode; meter?: ReactNode }) {
return (