mirror of
https://github.com/movie-web/native-app.git
synced 2025-09-13 18:13:25 +00:00
fix theme selector not working, add input styling
This commit is contained in:
@@ -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} />;
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user