728x90
import { Dispatch, RefObject, SetStateAction } from "react";

export interface IMPlaylist {
  playlistRef: RefObject<HTMLDivElement>;
  seletedPlaylist: string | null;
  setSeletedPlaylist: Dispatch<SetStateAction<string | null>>;
  setShowPlaylist: Dispatch<SetStateAction<boolean>>;
  showPlaylist: boolean;
}

 

728x90

'코딩 > React' 카테고리의 다른 글

TypeScript로 생성 CLI  (0) 2024.10.30
쿠키  (0) 2024.06.18
Redux  (0) 2024.06.18
React 환경변수  (0) 2024.03.25

+ Recent posts