feishin/src/renderer/features/player/context/play-queue-handler-context.ts

10 lines
279 B
TypeScript
Raw Normal View History

2022-12-31 19:26:58 -08:00
import { createContext } from 'react';
2025-05-20 19:23:36 -07:00
import { PlayQueueAddOptions } from '/@/shared/types/types';
2022-12-31 19:26:58 -08:00
export const PlayQueueHandlerContext = createContext<{
2023-07-01 19:10:05 -07:00
handlePlayQueueAdd: ((options: PlayQueueAddOptions) => void) | undefined;
2022-12-31 19:26:58 -08:00
}>({
2023-07-01 19:10:05 -07:00
handlePlayQueueAdd: undefined,
2022-12-31 19:26:58 -08:00
});