Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
<div @class([
'bg-red-500' => $userBanned,
'bg-green-500' => $userNotBanned,
])>
{{ $userStatus }}
</div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment