forked from Ninjalama/streamyfin_mirror
22 lines
513 B
TypeScript
22 lines
513 B
TypeScript
import { HeaderBackButton } from "../common/HeaderBackButton";
|
|
|
|
const commonScreenOptions = {
|
|
title: "",
|
|
headerShown: true,
|
|
headerTransparent: true,
|
|
headerShadowVisible: false,
|
|
headerLeft: () => <HeaderBackButton />,
|
|
};
|
|
|
|
const routes = [
|
|
"actors/[actorId]",
|
|
"albums/[albumId]",
|
|
"artists/index",
|
|
"artists/[artistId]",
|
|
"items/page",
|
|
"series/[id]",
|
|
];
|
|
|
|
export const nestedTabPageScreenOptions: { [key: string]: any } =
|
|
Object.fromEntries(routes.map((route) => [route, commonScreenOptions]));
|