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