mirror of
https://github.com/Jellify-Music/App.git
synced 2026-04-25 20:39:23 -05:00
52d03bd65f
build out navigation from artist to album
20 lines
516 B
TypeScript
20 lines
516 B
TypeScript
import { NativeStackScreenProps } from "@react-navigation/native-stack";
|
|
|
|
|
|
export type StackParamList = {
|
|
Home: undefined;
|
|
Artist: {
|
|
artistId: string,
|
|
artistName: string
|
|
};
|
|
Album: {
|
|
albumId: string,
|
|
albumName: string,
|
|
};
|
|
}
|
|
|
|
export type ProvidedHomeProps = NativeStackScreenProps<StackParamList, 'Home'>;
|
|
|
|
export type HomeArtistProps = NativeStackScreenProps<StackParamList, 'Artist'>;
|
|
|
|
export type HomeAlbumProps = NativeStackScreenProps<StackParamList, 'Album'>; |