~bigbes/lethe

ref: 50654f96ce59bec2ca3200cd54806704472ff21f lethe/web/src/primitives/StatusDot.tsx -rw-r--r-- 223 bytes
50654f96 — Eugene Blikh web: wire display settings UI 30 days ago
                                                                                
1
2
3
4
5
6
7
8
9
import type React from 'react'

interface StatusDotProps {
  status: 'ok' | 'warn' | 'err'
}

export function StatusDot({ status }: StatusDotProps): React.JSX.Element {
  return <span className={`statusdot ${status}`} />
}