Use same icon for different state in BadgeColumn
I need to use same icon class for different value, how to make it possible?
The structure above however looks impossible (and didn't work) as those values share the same key.
I tried something like this but still didn't work.
Any way to achieve that?
2 Replies
'heroicon-s-clock' => fn ($state) => in_array($state, ['Pending','Awaiting Confirmation']),
Great... thanks!