Update demo.tsx

This commit is contained in:
Arjun Patel
2022-01-10 14:56:54 -08:00
parent a26b931cc0
commit 4e8a56109c
+4 -4
View File
@@ -83,13 +83,13 @@ export default class Demo extends React.Component {
renderPulse(status: UserStatus) {
switch(status) {
case UserStatus.online:
return <IoPulseOutline className="text-green-500 text-2xl animate-pulse mx-2" />
return <IoPulseOutline className="text-green-500 text-2xl animate-pulse mx-2 ml-auto" />
case UserStatus.busy:
return <IoPulseOutline className="text-orange-400 text-2xl animate-pulse mx-2" />
return <IoPulseOutline className="text-orange-400 text-2xl animate-pulse mx-2 ml-auto" />
case UserStatus.offline:
return <IoRemoveOutline className="text-gray-400 text-2xl mx-2" />
return <IoRemoveOutline className="text-gray-400 text-2xl mx-2 ml-auto" />
default:
return <IoPulseOutline className="text-green-400 text-2xl animate-pulse mx-2" />
return <IoPulseOutline className="text-green-400 text-2xl animate-pulse mx-2 ml-auto" />
}
}