From 196db657e8bdce502b8112080212716103f4c3f8 Mon Sep 17 00:00:00 2001 From: ValdiANS Date: Fri, 23 Jan 2026 23:01:43 +0700 Subject: [PATCH] feat: create StatusBadge component --- src/components/helper/StatusBadge.tsx | 44 +++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 src/components/helper/StatusBadge.tsx diff --git a/src/components/helper/StatusBadge.tsx b/src/components/helper/StatusBadge.tsx new file mode 100644 index 00000000..fa15812e --- /dev/null +++ b/src/components/helper/StatusBadge.tsx @@ -0,0 +1,44 @@ +import Badge from '@/components/Badge'; +import { cn } from '@/lib/helper'; +import { Color } from '@/types/theme'; + +interface StatusBadgeProps { + color: Color; + text: string; +} + +const StatusBadge = ({ color = 'neutral', text }: StatusBadgeProps) => { + return ( + + + + + + {text} + + ); +}; + +export default StatusBadge;