1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
import * as React from 'react'; import s0 from './ProxyLatency.module.scss'; type ProxyLatencyProps = { number: number; color: string; }; export function ProxyLatency({ number, color }: ProxyLatencyProps) { return ( <span className={s0.proxyLatency} style={{ color }}> <span>{number} ms</span> </span> ); }