Add StatusChip component

This commit is contained in:
thesn10
2026-07-02 22:29:01 +02:00
parent 0d3b72394d
commit 04c0000eb3

View File

@@ -0,0 +1,16 @@
import type { JSX } from "react";
import { Chip } from "heroui-native";
import type { StatusColor } from "@/lib/status";
interface StatusChipProps {
label: string;
color: StatusColor;
}
export function StatusChip({ label, color }: StatusChipProps): JSX.Element {
return (
<Chip variant="soft" color={color} size="sm">
<Chip.Label>{label}</Chip.Label>
</Chip>
);
}