8 lines
270 B
TypeScript
8 lines
270 B
TypeScript
import { createContext } from 'react';
|
|
import { PlayQueueAddOptions } from '/@/renderer/types';
|
|
|
|
export const PlayQueueHandlerContext = createContext<{
|
|
handlePlayQueueAdd: ((options: PlayQueueAddOptions) => void) | undefined;
|
|
}>({
|
|
handlePlayQueueAdd: undefined,
|
|
});
|