~bigbes/lethe

ref: e075b986729b67f2afc74b4c069d1793e1f63cea lethe/web/src/primitives/StatusDot.tsx -rw-r--r-- 223 bytes
e075b986 — Eugene Blikh web: projects index route with real /projects data a month 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}`} />
}