@@ -68,13 +67,18 @@ const ThemeSwitcher: React.FC
= ({ setTheme }) => {
Thema aanpasssen:
-
+ defaultValue={themes[0].value}
+ invalid={errors["themeSwitcher"]}
+ {...register("themeSwitcher")}
+ >
+ {themes.map(({ label, value }) => (
+
+ {label}
+
+ ))}
+