refactor to tamagui

This commit is contained in:
Jorrin
2024-03-18 22:02:54 +01:00
parent 069c8cbb89
commit 52978f6d68
75 changed files with 5537 additions and 2988 deletions

View File

@@ -4,9 +4,7 @@ import { Ionicons } from "@expo/vector-icons";
import { usePlayer } from "~/hooks/player/usePlayer";
export const BackButton = ({
className,
}: Partial<React.ComponentProps<typeof Ionicons>>) => {
export const BackButton = () => {
const { dismissFullscreenPlayer } = usePlayer();
const router = useRouter();
@@ -30,7 +28,9 @@ export const BackButton = ({
}}
size={36}
color="white"
className={className}
style={{
width: 100,
}}
/>
);
};