16 lines
639 B
TypeScript
16 lines
639 B
TypeScript
import { createContext } from "react"
|
|
|
|
export const tabletSections = [
|
|
{ name: "albums", group: "(albums)", title: "Albums" },
|
|
{ name: "artists", group: "(artists)", title: "Artists" },
|
|
{ name: "songs", group: "(songs)", title: "Songs" },
|
|
{ name: "playlists", group: "(playlists)", title: "All Playlists" },
|
|
{ name: "favorites", group: "(favorites)", title: "Favorites" },
|
|
{ name: "recent", group: "(recent)", title: "Recently Played" },
|
|
{ name: "downloads", group: "(downloads)", title: "Downloads" },
|
|
] as const
|
|
|
|
export const TabletSectionContext = createContext<
|
|
(typeof tabletSections)[number] | undefined
|
|
>(undefined)
|