diff --git a/src/components/helper/StatusBadge.tsx b/src/components/helper/StatusBadge.tsx index c90ddaee..d1b32a24 100644 --- a/src/components/helper/StatusBadge.tsx +++ b/src/components/helper/StatusBadge.tsx @@ -1,24 +1,30 @@ +import { ReactNode } from 'react'; + import Badge from '@/components/Badge'; + import { cn } from '@/lib/helper'; import { Color } from '@/types/theme'; interface StatusBadgeProps { color: Color; - text: string; + text: ReactNode; className?: { badge?: string; status?: string; }; + onClick?: () => void; } const StatusBadge = ({ color = 'neutral', text, className, + onClick, }: StatusBadgeProps) => { return (