mirror of
https://github.com/jeffvli/feishin.git
synced 2026-05-09 20:29:36 +02:00
24 lines
827 B
TypeScript
24 lines
827 B
TypeScript
import type { Song } from '/@/shared/types/domain-types';
|
|
import type { AgGridReact as AgGridReactType } from '@ag-grid-community/react/lib/agGridReact';
|
|
|
|
import { useRef, useState } from 'react';
|
|
|
|
import { AnimatedPage } from '/@/renderer/features/shared/components/animated-page';
|
|
|
|
const NowPlayingRoute = () => {
|
|
const queueRef = useRef<null | { grid: AgGridReactType<Song> }>(null);
|
|
const [search, setSearch] = useState<string | undefined>(undefined);
|
|
|
|
return (
|
|
<AnimatedPage>
|
|
{/* <VirtualGridContainer>
|
|
<NowPlayingHeader />
|
|
<PlayQueueListControls tableRef={queueRef} type="nowPlaying" />
|
|
<PlayQueue ref={queueRef} type="nowPlaying" />
|
|
</VirtualGridContainer> */}
|
|
</AnimatedPage>
|
|
);
|
|
};
|
|
|
|
export default NowPlayingRoute;
|