~bigbes/lethe

ref: c2f774211947151c2bb8c3d4b4023d5d41e1eb8b lethe/web/src/primitives/StatusDot.tsx -rw-r--r-- 223 bytes
c2f77421 — Eugene Blikh web: session view with turn list and transcript 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}`} />
}