Add 'unconsumed' state to StateTag component with corresponding success status

This commit is contained in:
Tom Butcher 2025-11-30 00:15:34 +00:00
parent d5d0040871
commit ba1bba1a24

View File

@ -92,6 +92,10 @@ const StateTag = ({ state, showBadge = true, style = {} }) => {
status = 'warning'
text = 'Used'
break
case 'unconsumed':
status = 'success'
text = 'Unconsumed'
break
default:
status = 'default'
text = state || 'Unknown'