iconify switch icon statt checkbox

This commit is contained in:
ISA
2025-01-22 13:34:40 +01:00
parent 139bc49f24
commit 5a70924f4c

View File

@@ -148,10 +148,11 @@ function EinAusgaenge() {
</td> </td>
<td className="px-2 py-1">{output.description}</td> <td className="px-2 py-1">{output.description}</td>
<td className="px-2 py-1"> <td className="px-2 py-1">
<input <Icon
type="checkbox" icon="ion:switch"
checked={output.toggle} className={`text-2xl ${
className="w-5 h-5" output.toggle ? "text-blue-500" : "text-gray-500"
}`}
/> />
</td> </td>
<td className="px-2 py-1"> <td className="px-2 py-1">