iconify switch icon statt checkbox
This commit is contained in:
@@ -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">
|
||||||
|
|||||||
Reference in New Issue
Block a user