import * as React from 'react'; const SIZE = 14; const STROKE = 1.5; const RADIUS = SIZE / 2 - STROKE; const CIRCUMFERENCE = 2 * Math.PI * RADIUS; interface Props { // Restart the countdown animation when this changes. tick: number; // Seconds the ring takes to drain. periodSeconds?: number; // Active = brand color + animated; idle = muted, no animation. active: boolean; } /** * Small circular progress ring with a brand-colored center pulse, * meant to live next to the "Realtime" period chip. The ring drains * over `periodSeconds`, then resets when `tick` changes. */ export function RealtimeRing( { tick, periodSeconds = 30, active }: Props ) { return ( ); }