Front: Navigation: Use actual routes to build a typed navigator

This commit is contained in:
Arthur Jamet
2023-04-14 11:46:40 +01:00
parent 9cd6c90188
commit b0e01ffbed
10 changed files with 52 additions and 32 deletions
+1 -1
View File
@@ -1,7 +1,7 @@
import React from "react";
import Card, { CardBorderRadius } from './Card';
import { VStack, Text, Image, Pressable } from 'native-base';
import { useNavigation } from "@react-navigation/core";
import { useNavigation } from "../Navigation";
type SongCardProps = {
albumCover: string;
songTitle: string;