anotation-frontend/src/layouts/components/Header/SystemStatus.tsx
2026-10-30 23:26:57 +07:00

10 lines
454 B
TypeScript

import React from 'react'
export const SystemStatus: React.FC<{ isProjectList?: boolean }> = ({ isProjectList = false }) => {
return (
<div className={`hidden items-center text-slate-600 sm:flex ${isProjectList ? 'gap-2 text-[10px] text-[#697386]' : 'gap-2 text-xs'}`}>
<span className={`rounded-full bg-[#168262] ${isProjectList ? 'h-1.5 w-1.5' : 'h-2 w-2 bg-emerald-600'}`} />
<span>Hệ thống ổn định</span>
</div>
)
}