~bigbes/lethe

ref: ff633decd7949efd3dea9e056b06a3a659406494 lethe/web/src/primitives/StatusDot.tsx -rw-r--r-- 223 bytes
ff633dec — Eugene Blikh auth: integrate oidcstub as opt-in dev OP under auth.oidc.dev_stub 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}`} />
}