- Add SystemOverview component and related hooks;
- update Dashboard layout and introduce new UI components
This commit is contained in:
9
src/components/ui/StatusIndicator.tsx
Normal file
9
src/components/ui/StatusIndicator.tsx
Normal file
@@ -0,0 +1,9 @@
|
||||
import clsx from "clsx";
|
||||
|
||||
type StatusIndicatorProps = { status: string };
|
||||
|
||||
const StatusIndicator = ({ status }: StatusIndicatorProps) => {
|
||||
return <span className={clsx(`flex w-3 h-3 me-2 rounded-full`, status)}></span>;
|
||||
};
|
||||
|
||||
export default StatusIndicator;
|
||||
Reference in New Issue
Block a user