10 lines
258 B
TypeScript
10 lines
258 B
TypeScript
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;
|