fix theme selector not working, add input styling

This commit is contained in:
Jorrin
2024-03-24 20:41:09 +01:00
parent c24b2e01c1
commit ceffab182d
11 changed files with 124 additions and 45 deletions

View File

@@ -1,4 +1,4 @@
import type { SwitchProps } from "tamagui";
import type { SwitchProps, SwitchThumbProps } from "tamagui";
import { Switch, useTheme } from "tamagui";
const MWSwitch = (props: SwitchProps) => {
@@ -18,7 +18,7 @@ const MWSwitch = (props: SwitchProps) => {
);
};
const MWSwitchThumb = (props: any) => {
const MWSwitchThumb = (props: SwitchThumbProps) => {
return <Switch.Thumb animation="quicker" {...props} />;
};