mirror of
https://github.com/movie-web/native-app.git
synced 2025-09-13 14:53:24 +00:00
refactor to tamagui
This commit is contained in:
@@ -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,
|
||||
}}
|
||||
/>
|
||||
);
|
||||
};
|
||||
|
Reference in New Issue
Block a user