table constant data is added and Compliance Safety completed
This commit is contained in:
14
components/common/statusBadge.tsx
Normal file
14
components/common/statusBadge.tsx
Normal file
@@ -0,0 +1,14 @@
|
||||
export const StatusBadge = ({
|
||||
text,
|
||||
color,
|
||||
}: {
|
||||
text: string;
|
||||
color: string;
|
||||
}) => (
|
||||
<span
|
||||
className={`inline-flex items-center gap-1 rounded-full px-3 py-1 text-[10px] font-semibold uppercase tracking-wider whitespace-nowrap ${color}`}
|
||||
>
|
||||
<span className="h-1.5 w-1.5 rounded-full bg-current" />
|
||||
{text}
|
||||
</span>
|
||||
);
|
||||
Reference in New Issue
Block a user