~bigbes/lethe

ref: 8d80e8710e89cc83560ea26681ed80eb6c4b169d lethe/web/src/primitives/StatusDot.tsx -rw-r--r-- 223 bytes
8d80e871 — Eugene Blikh savedsearch: reject ?owner= on DELETE; cover all write paths in test (IV2) 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}`} />
}